Hi all,
How to check if a text file contains a return ? I'm counting the strings in a textfile with strlen() but the returns will also be counted. Is there a way to drop the returns from the "strlen() "count ?
😕
strlen($string) - substr_count($string, "\n");