Could anyone provide me a simple php function to count character of each lines on a string and get the longest one as an output?
String:
this is the string
with newline
what is the output?
Output: 19 (line 3)
String:
this is the string
with newline
what is the output?
Output: 19 (line 3)
Comment