PDA

View Full Version : finding multiple substrings in a string


AN-net
16 Aug 2006, 21:53
how would i go about finding multiple substrings in a string. should i use strpos but how do i more than one? should i use a switch?

i.e.:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



any suggestions:)

Paul M
16 Aug 2006, 23:18
Why not just an IF for each one ?



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------