Kingy Posted January 18, 2008 Share Posted January 18, 2008 Is there a way to count the amount of uppercase characters in a string?? eg: $string = "my NAME is KINGY"; count the uppercase characters return 9; Quote Link to comment https://forums.phpfreaks.com/topic/86708-solved-counting-uppercase-characters/ Share on other sites More sharing options...
revraz Posted January 18, 2008 Share Posted January 18, 2008 Simple google search http://www.mboateng.com/2007/09/15/counting-the-number-of-upper-case-letters-in-a-string-php/ Quote Link to comment https://forums.phpfreaks.com/topic/86708-solved-counting-uppercase-characters/#findComment-443111 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.