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

Reference for unit 'LazStringUtils': Procedures and functions

BeautifyLineXY

  

Combines and optionally shortens the specified values.

BinaryStrToText

  

Replaces control characters with Pascal-style character constants.

BreakString

  

Applies line breaks and indenting to a string value.

ChangeLineEndings

  

Converts CR and LF characters in s string to the specified line-ending sequence.

CommentText

  

Converts a string into a comment using the specified comment style.

FindNextDelimitedItem

  

Finds the next occurrence of a specific value in a delimited list.

GetNextDelimitedItem

  

Gets the next delimited value in List starting at the specified position.

GetPart

  

Implements formatting facilities in the debugger.

HasDelimitedItem

  

Determines if a value exists in a delimited list of values.

IsNumber

  

Deprecated. Use IsNumeric instead.

IsNumeric

  

Indicates whether the characters in the specified value are numeric digits in the range '0'..'9'.

LazEndsStr

  

Determines if a string ends with the specified value.

LazEndsText

  

Determines if a string occurs at the end of the specified text.

LazIsValidIdent

  

Deprecated. Use SysUtils.IsValidIdent in RTL instead.

LazStartsStr

  

Determines if a string starts with the specified value.

LazStartsText

  

Determines if a string occurs at the beginning of the specified text.

LineBreaksToDelimiter

  

Converts CR or LF characters in a string to the specified delimiter character.

LineBreaksToSystemLineBreaks

  

Normalizes end-of-line characters in a string to the value in LineEnding.

LineEndingCount

  

Gets the number of LineEnding sequences in the specified text.

LoadStringFromFile

  

Reads a string with the contents of the specified file name.

MergeWithDelimiter

  

Combines two string values using the specified delimiter character.

PosI

  

A case-insensitive optimized version of the Pos routine.

ReplaceSubstring

  

Replaces (or appends) the specified number of bytes at a given position.

SamePChar

  

Returns True if P1 and P2 have the same content.

SaveStringToFile

  

Writes the specified string value to the specified file name.

ShortDotsLine

  

Shortens and "ellipsifies" the specified value.

SimpleSyntaxToRegExpr

  

Creates a regular expression from a filter expression used in IDE dialogs.

SpecialCharsToSpaces

  

Converts occurrences of special characters to spaces.

SplitString

  

Creates and populates a TStringList with lines determined using the specified delimiter character.

StringCase

  

Emulates the CASE .. OF statement for string values.

StringListPartToText

  

Converts the specified lines in a TStrings instance to a string value.

StringListToString

  

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

StringListToText

  

Gets a string with the lines of text from the specified TStrings instance.

StringToStringList

  

Stores a multi-line string as separate lines in a TStrings instance.

StripLN

  

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

StrLScan

  

Like StrScan but compares only the specified number of characters in MaxLen.

SwapCase

  

Inverts the case for characters in the specified text.

TabsToSpaces

  

Converts all Tab characters in a string to the specified number of space characters.

TextToSingleLine

  

Converts a multi-line string to a single line of text.


Version 4.0 Generated 2025-05-03 Home