String tokenizer for PHP

Posted by Jack on Stack Overflow See other posts from Stack Overflow or by Jack
Published on 2010-04-19T05:38:15Z Indexed on 2010/04/19 5:43 UTC
Read the original article Hit count: 295

Filed under:

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.

© Stack Overflow or respective owner

Related posts about php