Java StringTokenizer
StringTokenizer class breaks a string into tokens using a specified delimiter. Note: space is the default delimiter. Constructors of StringTokenizer class: public StringTokenizer(String str): creates a string tokenizer for the specified string. By default, space is taken as a delimiter here. public StringTokenizer(String str, String delimiter): creates a string tokenizer for the specified string … Read more