alin19 Posted February 7, 2008 Share Posted February 7, 2008 <?php $pattern ="alin"; $pattern .= "balan"; $x=count ($pattern); echo $x; ?> as i see count just give you the number of elements from an array, how can i find out how many letters are in this string? Quote Link to comment Share on other sites More sharing options...
revraz Posted February 7, 2008 Share Posted February 7, 2008 strlen? Quote Link to comment Share on other sites More sharing options...
craygo Posted February 7, 2008 Share Posted February 7, 2008 strlen($pattern); Quote Link to comment Share on other sites More sharing options...
alin19 Posted February 7, 2008 Author Share Posted February 7, 2008 10x Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.