ktsirig Posted November 10, 2009 Share Posted November 10, 2009 Hello, I wanted to ask if you have a string like: $my_s='ASRGREGTGTR----REGREGRE+++RRRRRR....'; is there a way to count the length of the string, excluding non-word characters (+,- or .)? thank you Link to comment https://forums.phpfreaks.com/topic/180986-exclude-characters-from-counting/ Share on other sites More sharing options...
ram4nd Posted November 10, 2009 Share Posted November 10, 2009 Yes there is a way, is answer to your question. Link to comment https://forums.phpfreaks.com/topic/180986-exclude-characters-from-counting/#findComment-954882 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.