PHP Tokenizer?
Posted: Thu Apr 13, 2006 6:40 pm
Is there a tokenizer function (similar in nature to Java's) where you can parse a string based on a non-space delimter... for instance:
if you have the string "0001;4;hello"
You could parse based on the semicolon into 3 tokens... "0001", "4", and "hello"? If so, how?
THanks,
Trey
if you have the string "0001;4;hello"
You could parse based on the semicolon into 3 tokens... "0001", "4", and "hello"? If so, how?
THanks,
Trey