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