08-08-2007 03:03 PM - edited 03-14-2019 01:09 AM
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.
08-08-2007 10:16 PM
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
08-09-2007 12:25 AM
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.
08-09-2007 12:41 AM
Hi,
The Expression Editor programming is very similar to java. You can use java code on it. You can check the URL above in order to get more information regarding Expression Editor:
Hope this helps,
Juan Luis
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide