How to Manipulate Strings in Java5
How to Manipulate Strings in Java
Understand what it means to split a string.
minutes
hours
Use StringTokenizer to tokenize the string.
hours
hours
Use the String class's split() method.
hours
days
Use regular expressions to split the string.
hours
minutes
Review your output.
hours
hours