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

StringListToString

Converts the content in a TStrings instance to a string value.

Declaration

Source position: lazstringutils.pas line 77

function StringListToString(

  List: TStrings;

  FromIndex: Integer;

  ToIndex: Integer;

  IgnoreEmptyLines: Boolean = False

):string;

Arguments

List

  

TStrings instance examined in the method.

FromIndex

  

First line included in the string value.

ToIndex

  

Last line included in the string value.

IgnoreEmptyLines

  

Indicates if empty lines are excluded from the result.

Function result

String representing the contents of the TStrings instance.

Description

Adds a LF (#10) character to the end of text lines in the string list. Quotes each string value which ends with a LF character using surrounding Quote (') characters.


Version 4.0 Generated 2025-05-03 Home