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

TTextStrings.GetLineLen

Gets the length of a line (including optional end-of-line characters) at the specified position.

Declaration

Source position: textstrings.pas line 75

protected function TTextStrings.GetLineLen(

  Index: Integer;

  IncludeNewLineChars: Boolean

):Integer;

Arguments

Index

  

Ordinal position for the line examined in the method.

IncludeNewLineChars

  

True to include end-of-line characters in the line length.

Function result

Length of the specified line.


Version 4.0 Generated 2025-05-03 Home