Posted 21 October 2012 - 12:05 PM
I need a way to split strings into an array similar to how you can in java.
Java is like this:
I'm not a noob but I'm not a pro so I would like an explanation along with it, but it's not necessary as I am quite good at figuring things out.
Java is like this:
String text = "a line of text";
String splits[] = text.split(" ");
System.out.println(splits[1] + " " + splits[4]);
Result:
A text
I'm not a noob but I'm not a pro so I would like an explanation along with it, but it's not necessary as I am quite good at figuring things out.