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

StripLN

Gets the first line of text up to an end-of-line character.

Declaration

Source position: lazstringutils.pas line 91

function StripLN(

  const ALine: string

):string;

Arguments

ALine

  

Values examined in the routine.

Function result

Text in the initial line of text.

Description

StripLn is a String function used to get the first line of text in the specified value up to an end-of-line character. CR and LF characters are recognized as end-of-line characters.

The return value contains the values from ALine prior to the first end-of-line character, or the entire contents of ALine when an end-of-line character is not found.

Remark: The value in ALine is a constant parameter and is not altered in any way in the routine.

Version 4.0 Generated 2025-05-03 Home