Split a String

erezmi

Newcomer
Joined
Jan 23, 2005
Messages
1
Hi to all
I have this string:
"F1- abcF4h abc F2- abc dfg F3- abc12"
I tried to split this string in to Matches (as a collection):

1. F1- abcF4h abc
2. F2- abc dfg
3. F3- abc12

I attempt to do thid in one Execute function
I tried Pattern = "F\d-\s.*" (and a lot of combinations)
pleasssssssssssss some one can help me ?

Erez Mizrahi
 
Clarification

erezmi said:
Hi to all
I have this string:
"F1- abcF4h abc F2- abc dfg F3- abc12"
I tried to split this string in to Matches (as a collection):

1. F1- abcF4h abc
2. F2- abc dfg
3. F3- abc12

I attempt to do thid in one Execute function
I tried Pattern = "F\d-\s.*" (and a lot of combinations)
pleasssssssssssss some one can help me ?

Erez Mizrahi

Clarification: You want to split it so that you get all groups delimited by F1, F2, etc. and include the F1, F2, etc. in the resulting splits?
 
Back
Top