PDA

View Full Version : Split a String


Venkata.karri
Dec 14, 2010, 04:56 AM
I am having a string like
"Line:123;1335;3254546;Error:something
150;0-334345;Base;0
>>>>>
Line:1223;13335;924546;Error:something
150;0-334345;Base;0
>>>>>
Line:123;1335;3254546;Error:something
150;0-334345;Base;-1345
>>>>>
Line:123;1335;3254546;Error:something
150;0-334345;Base;0.1123
>>>>>
Line:111;133151;3246;Error:something
150;0-334345;Base;0
>>>>>
Line:123;1335;3254546;Error:something
150;0-334345;Base;7876
>>>>>
Line:1;15;4546;Error:something
150;0-334345;Base;0
>>>>>"


I want to split above string with "Base;"+some value or string. But it is not "Base;0"