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.

StringTokenizer tok = new StringTokenizer(inputLine);
String destination = tok.nextToken(' ');

any ideas please ?