Sign in Join
FPDoc Onlineexperiment

LineEndingCount function

In unit LazStringUtils

Gets the number of LineEnding sequences in the specified text.

Declaration

pascal
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.

Description

Nothing more than the line above yet.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.