UCCX - Extract data from string

Unanswered Question
Aug 8th, 2007
User Badges:

Is there a method to extract a section of data in a string and place it into a new string? I wouldn't necessarily know how long that data is prior to running script, but know its inbetween 2 commas.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
lpezj Wed, 08/08/2007 - 22:16
User Badges:
  • Gold, 750 points or more

Yes, it is possible. In the script editor you can use the 'Set' function.

You have got to create a String variable and in the value section you have got to use the Expresions Editor, clicking on the three dot button.

You have to select in the above tabs 'String' and in the string methods you will find a lot of functions to use with string variables: lenght, substring, etc.

Hope this helps,

Juan Luis

mamoss Thu, 08/09/2007 - 00:25
User Badges:

I've looked in the Expression Editor and its not very clear what formulae I would use. There doesn't seem to be any detailed documentation on CCO (that I could find) that goes into formulae and examples. There are various docs, but they aren't clear. Any ideas? Thanks.


This Discussion