| 
	
 | 
 Posted by jodleren on 12/28/07 13:34 
Hi! 
 
I was reading php.net for a way to find a number of characters in a 
strings. Say I want to look for a b and c ind $string. 
As far as I could see, there is no function for that. 
 
So, I can either? 
1) run through the string and test using in_array('a', 'b', 'c') 
2) run through array and test using strpos( $items[$i].... 
Where I find #2 the best. 
 
But is there a function which can do that faster or in a better way?
 
  
Navigation:
[Reply to this message] 
 |