1. Tech

Your suggestion is on its way!

An email with a link to:

http://delphi.about.com/od/beginners/l/blrtlstringhand.htm

was emailed to:

Thanks for sharing About.com with others!

String handling routines
DELPHI RTL Reference

AdjustLineBreaks function
Returns the string with all line breaks converted to true CR/LF sequences.

Concat function
Concatenates two or more strings into a single string.

CompareStr function
Compares two strings.

CompareText function
Compares two strings without case sensitivity.

Copy function
Returns a substring of a string or a segment of a dynamic array.

Delete procedure
Removes a substring from a string.

DupeString function
Returns a string repeated a specified number of times.

ExtractStrings function
Fills a string list with substrings parsed from a delimited list.

Insert procedure
Inserts a substring into a string at a given position.

IsDelimiter function
Returns True if a specified character in a string matches one of a set of delimiters starting from some position.

LastDelimiter function
Returns the index of the last occurence in a string of the characters cpecified.

LeftStr function
Returns a string containing a specified number of characters from the left side of a string.

Length function
Returns an integer containing the number of characters in a string or the number of elements in an array.

LowerCase function
Returns a string that has been converted to lowercase.

Pos function
Returns an integer specifying the position of the first occurrence of one string within another.

PosEx function
Returns an integer specifying the position of the first occurrence of one string within another, where the search starts at a specified position.

QuotedStr function
Returns the quoted version of a string.

ReverseString function
Returns a string in which the character order of a specified string is reversed.

RightStr function
Returns a string containing a specified number of characters from the right side of a string.

SetLenght procedure
Changes the size of a dynamic array or a string.

SetString procedure
Sets the lenght and contents of a given string.

Str procedure
Formats a string from an integer or floating point variable.

StringOfChar function
Returns a string containing a repeating character string of the length specified.

StringReplace function
Returns a string in which a specified substring has been replaced with another substring.

Trim function
Returns a string containing a copy of a specified string without both leading and trailing spaces and control characters.

TrimLeft function
Returns a string containing a copy of a specified string without leading spaces and control characters.

TrimRight function
Returns a string containing a copy of a specified string without trailing spaces and control characters.

UpperCase function
Returns a string that has been converted to uppercase.

Val procedure
Converts a string to a numeric value.

WrapText function
Returns a string broken into multiple lines.

more to come...

©2014 About.com. All rights reserved.