Language:
Русский
English
Strings Unit
The Strings Unit provides support for a new class of character strings called null-terminated strings.
With Turbo Pascal's extended syntax and the Strings unit, your programs can use null-terminated strings (the format required by the Windows Application Programming Interface (API)).
Strings Unit Functions
StrCat Func Appends a copy of one string to the end of another
and returns the concatenated string.
StrComp Func Compares two strings.
StrCopy Func Copies one string to another.
StrDispose Func Disposes of a previously allocated string.
StrECopy Func Copies one string to another and returns a pointer to
the end of the resulting string.
StrEnd Func Returns a pointer to the end of a string.
StrIComp Func Compares two strings without case sensitivity.
StrIPos Func Returns the first occurrence of a string in another
string.
StrLCat Func Appends characters from one string to the end of
another and returns the concatenated string.
StrLComp Func Copies characters from one string to another.
StrLCopy Func Compares two strings, up to a maximum length.
StrLen Func Returns the number of characters in Str.
StrLIComp Func Compares two strings, up to a maximum length, without
case sensitivity.
StrLower Func Converts a string to lower case.
StrMove Func Copies characters from one string to another.
StrNew Func Allocates a string on the heap.
StrPas Func Converts a null-terminated string to a Pascal-style
string.
StrPCopy Func Copies a Pascal-style string to a null-terminated
string.
StrPos Func Returns a pointer to the first occurrence of a string
in another string.
StrRScan Func Returns a pointer to the last occurrence of a string
in another string.
StrScan Func Returns a pointer to the first occurrence of a
character in a string.
StrUpper Func Converts a string to upper case.