Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
Just a simple question
How can I split this kind of string?
Art C. Cauyao<$@PERX@$>501912568<$@ENDPERX@$>Tessa Rose Brainard<$@PERX@$>510831686<$@ENDPERX@$>Dan Gangan<$@PERX@$>513545777<$@ENDPERX@$>C Jhec Daw Ako<$@PERX@$>523059320<$@ENDPERX@$>Jeremy Watkins<$@PERX@$>526687826<$@ENDPERX@$>Dax Kin Dy Vintola<$@PERX@$>544638475<$@ENDPERX@$>Dominc Odtohan<$@PERX@$>564044999<$@ENDPERX@$>Fruncease Gonzales Binuya<$@PERX@$>564248543<$@ENDPERX@$>Jennifer Castillo Jimenez-Fernando<$@PERX@$>570214516<$@ENDPERX@$>Raymond de Guzman<$@PERX@$>580773568<$@ENDPERX@$>Apa Pasumbal<$@PERX@$>1112268031<$@ENDPERX@$>Tupe DeMolay<$@PERX@$>1113559103<$@ENDPERX@$>Jamilla Magno<$@PERX@$>1119306822<$@ENDPERX@$>Author Marcette Fochier<$@PERX@$>1119993590<$@ENDPERX@$>Jergil Mares Reveldez Toledo<$@PERX@$>1124038000<$@ENDPERX@$>Cesca Gonzales<$@PERX@$>112750780
Im using this code but It isnt splitting
	        String delim = "<$@ENDPERX@$>";
			String[] StringFirst = xml_getMembermob.toString().split(delim);
			for (int a = 0;a<StringFirst.length; a++ )
				String aws = StringFirst[a];
				Log.i("returned sa akin", ""+StringFirst.length);
Posted 8-Sep-12 5:04am

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 6,434
1 OriginalGriff 6,033
2 Peter Leow 2,534
3 Maciej Los 2,268
4 Abhinav S 2,264

Advertise | Privacy | Mobile
Web01 | 2.8.150414.1 | Last Updated 8 Sep 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100