Accessing a strings content
I have a string:
String text = "REG Type set";
In this string the text after the word REG may differ eg. "REG test help"
How can I access the second word in a string. The resend for doing this is
that I want to write only the second word of the string to the screen.
I know you can use a Array but I don'n want to use a array.
Thank You
No comments:
Post a Comment