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 4: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 Dnyaneshwar@Pune 604
1 thatraja 380
2 OriginalGriff 236
3 Gihan Liyanage 210
4 kbrandwijk 204
0 OriginalGriff 737
1 Dnyaneshwar@Pune 604
2 Kornfeld Eliyahu Peter 505
3 Sergey Alexandrovich Kryukov 405
4 thatraja 370


Advertise | Privacy | Mobile
Web02 | 2.8.140902.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