I want to split a string (line) by the first whitespace, but only the first.
StringTokenizer linesplit = new StringTokenizer(line," ");
Take for example "This is a test". Then I want the strings to be "This" and "is a test". How could I use StringTokenizer or is there a better option?