public class Splitter {
	public static void main( String[] args ) {
		String s = new String("several words in one string" );

		// This says to split the String s
		//  wherever a space occurs,
		//  and put the resulting Strings
		//  in a array of Strings called 'words'.
		String[] words = s.split( " " );

		for( int i = 0; i < words.length; i++ ) {
			System.out.println( words[i] );
		}
	}
}


