PDA

Click to See Complete Forum and Search --> : [RESOLVED] String manipulation


I_Love_My_Vans
Apr 29th, 2007, 03:17 AM
How do i count the number of / in a string?

Thankuk You

penagate
Apr 29th, 2007, 03:19 AM
$slash_count = substr_count($mystring, '/')

I_Love_My_Vans
May 2nd, 2007, 05:41 PM
Thanks dude :D