Answers for "php counting number of chars excluding newlines"

PHP
1

php counting number of chars excluding newlines

echo strlen(str_replace(array("n", "rn", "r"), '', $string));
Posted by: Guest on January-24-2022

Code answers related to "php counting number of chars excluding newlines"

Browse Popular Code Answers by Language