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; 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/ Link to comment https://forums.phpfreaks.com/topic/86708-solved-counting-uppercase-characters/#findComment-443111 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.