String tokenizer for PHP
- by Jack
I have used the String Tokenizer in Java. I wish to know if there is similar functionality for PHP. I have a string and I want to extract individual words from it.
eg. If the string is -
Summer is doubtful #haiku #poetry #babel
I want to know if it contains the hashtag #haiku.