Chapter
Tokenizing
From ComputerScienceOne by Dr Chris Bourke
Concepts
- How can you compare String values in Java?
"String a = \"apple\";\n\nString b = \"apple\";\n\nString c = \"Hello\";\n\nboolean result;\n\nresult = a.equals(b); //true\n\nresult = a.equals(c); //false"
- How can you tokenize a String in Java?
"Recall that tokenizing is the process of splitting up a string using some delimiter. For example, the comma delimited string, \"Smith,Joe,12345678,1985-09-08\" contains four pieces of data delimited