String Split

  
Hi all!

I've a problem and i'm looking for some help.

I've a variable with this content:

1,Description;2,Description;

I want to put the numbers into a text variable like this: 1,2,3,4, and want to put the Description into another text variable like this: Description,Description

Any help would be great.

Thanks
Hello Ricardo,
Have a look at Regular expressions... it's hard to start, but it pays off. Here are some pointers:

- Quick start: http://www.regular-expressions.info/quickstart.html
- Useful site to test regular expressions: http://regexpal.com/

You can then use Regex_Search action from Text extension to apply the expression to your string variable.

Otherwise use String_Split action also from Text extension, with a foreach inside another foreach for splitting first by ";" then by ",".

Let me know if this helps.