Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
Hello,
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
janwel1.9K

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 504
1 Maciej Los 349
2 Kornfeld Eliyahu Peter 325
3 DamithSL 196
4 OriginalGriff 188
0 OriginalGriff 6,303
1 DamithSL 4,764
2 Maciej Los 4,306
3 Kornfeld Eliyahu Peter 3,914
4 Sergey Alexandrovich Kryukov 3,538


Advertise | Privacy | Mobile
Web02 | 2.8.141220.1 | Last Updated 8 Sep 2012
Copyright © CodeProject, 1999-2014
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