Possible Duplicate:
what is the Java equivalent of sscanf for parsing values from a string using a known pattern?
I’m pretty new to Java, but seeing how useful the sscanf function is, I wonder if there is an equivalent in Java. I’ve got many pretty much formatted strings (namely, writing scripting language for my purposes), so regular expressions are overkill here.
Here is the official documentation of the Scanner class.