Friday, 23 August 2013

Java - Index a String (Substring)

Java - Index a String (Substring)

I have this string:
201057&channelTitle=null_JS
I want to be able to cut out the '201057' and make it a new variable. But
I don't always know how long the digits will be, so can I somehow use the
'&' as a reference?\
myDigits substring(0, position of &)?
Thanks

No comments:

Post a Comment