Description
Count the number of lines in a stringstatic int countLines
( string $string);
var_dump(SLS_String::countLines( "SillySmart is a lightweight and flexible MVC Framework written in PHP5. It's based on XML/XSL's parsing." )); // will produce : 2
Comments
Add your comment