Returns number of lines in a string, 0 = none
#include "String and File String.au3" _StringCountLines( $sString ) |
$sString | String containing lines to count |
integer value | Number of lines, 0 = none |
_StringCountLines( "First sentence" & @CRLF & "Second one" ) ; 2