I have a coding problem that is a lill tricky for me to solve, please suggest a good solution
String s = "Line5: this is line 5Line1: this is line 1 Line4:this is line 4 line3:this is line 3"
Ok I want the lines .. this is line 'x', where x=1,2,3,4 ... n, in a String array( lets suppose).
the order of int with string i.e; Line 1 , Line 2 is not fixed, Line 10 may come at first place and Line 1 could come at 3rd place etc.
My delimiting character is "Line x:" or "line x:", where x = 1,2,3 .. n
Any suggestion.....??
2007-05-23
19:16:02
·
2 answers
·
asked by
ali hammad
1