[Overview][Types][Classes][Index] Reference for unit 'TextStrings' (#lazutils)

TTextStrings.CountLineEndings

Gets the number of end-of-line sequences found in the specified string.

Declaration

Source position: textstrings.pas line 77

protected function TTextStrings.CountLineEndings(

  const s: string

):Integer;

Arguments

s

  

String with the values examined in the method.

Function result

Number of end-of-line sequences found in s.


Version 4.0 Generated 2025-05-03 Home