Unit 'TextStrings' Package
[Overview][Types][Classes][Index] [#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.4 Generated 2025-11-08 Home