How to split this string in c#?
Posted
by melaos
on Stack Overflow
See other posts from Stack Overflow
or by melaos
Published on 2010-04-15T13:02:47Z
Indexed on
2010/04/15
13:13 UTC
Read the original article
Hit count: 221
hi i'm really not used to the split string method in c# and i was wondering how come there's no split by more than one char function?
and my attempt to try to split this string below using regex has just ended up in frustration. anybody can help me?
basically i want to split the string below down to
aa**aa**bb**dd^__^a2a**a2a**b2b**dd^__^
into
aa**aa**bb**dd
a2a**a2a**b2b**dd
and then later into
aa
aa
bb
dd
a2a
a2a
b2b
dd
thanks!
© Stack Overflow or respective owner