Sign in Join
FPDoc Onlineexperiment

TTextStrings.CountLineEndings function

Member of TTextStringsprotectedIn unit TextStrings

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

Declaration

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

Description

Nothing more than the line above yet.

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