This is a Java question. Have you tried searching for something like "split 
string java"? 

Simple answer is yes. I encourage you to read up on the String class 
documentation 
(https://docs.oracle.com/javase/7/docs/api/java/lang/String.html), 
especially focusing on this section: 
https://docs.oracle.com/javase/7/docs/api/java/lang/String.html#split(java.lang.String).

Or if you want to take the shortcut I will provide you with this 
Stackoverflow 
thread: 
https://docs.oracle.com/javase/7/docs/api/java/lang/String.html#split(java.lang.String)

On Saturday, December 12, 2015 at 3:57:13 PM UTC+1, Rob Puckett wrote:
>
> I have this string that is set up like this?
>
>
>        String string = "ID:460FILENAME:Gmsnet2.jpg
> DATAPATHONDEVICE:/storage/emulated/0/Android/data/com.google.android.gms/files/gmsnet2.jpg"
> ;
>
>
> how can I split this string by the data..
>
>
> like Find Were ID:
>
> or find FILENAME:
>
>
> I want to be able to brake this one string apart piece by piece.
>
> can I do that?
>

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/78580955-fc34-4a3e-ae98-ad1c7b1b9215%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to