I
Itzik
can i split this string
string str = "aa a - bb-b - ccc"
with this delimiter
string del = " - "
i want recieve 3 items : "aa a" , "bb-b" , "ccc"
i use this syntax :
string str = "aa a - bb-b - ccc";
string del = " - ";
string[] temp = str.Split(del.ToCharArray());
now is return me 9 items : "aa" , "a" , "" , "" , "bb" , "b" , "" , "" ,
"ccc"
Thanks
string str = "aa a - bb-b - ccc"
with this delimiter
string del = " - "
i want recieve 3 items : "aa a" , "bb-b" , "ccc"
i use this syntax :
string str = "aa a - bb-b - ccc";
string del = " - ";
string[] temp = str.Split(del.ToCharArray());
now is return me 9 items : "aa" , "a" , "" , "" , "bb" , "b" , "" , "" ,
"ccc"
Thanks