The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
PHP function similar to VB INSTR()?
I need a PHP function to count the number of occurances of one string inside another string. You can do this in Visual Basic with the Instr() function, but I can't find an equivalent in PHP.
Specifically I want to count the number of commas in $birthdays. If I add one, then I will get the number of birthdays without having to run another query. (that is, assuming the string is not zero-length). Anyone have any ideas? Thanks in advance. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|