i want to split a string up by using string tokenizer. The words in the string have a one character gap, using this gap i want to split the string. i saw an example where someone used ' ' but i cant get it to work.
any ideas please ?Code:
StringTokenizer tok = new StringTokenizer(inputLine);
String destination = tok.nextToken(' ');