[Overview][Constants][Types][Procedures and functions][Index] Reference for unit 'LazStringUtils' (#lazutils)

LineEndingCount

Gets the number of LineEnding sequences in the specified text.

Declaration

Source position: lazstringutils.pas line 49

function LineEndingCount(

  const Txt: string;

  var LengthOfLastLine: Integer

):Integer;

Arguments

Txt

  

Text examined in the routine.

LengthOfLastLine

  

Number of characters in the last line.

Function result

Number of LineEnding sequences in the text.


Version 4.0 Generated 2025-05-03 Home