PCharFunctions topic
PChar related functions.
Declaration
PCharFunctionsDescription
Most PChar functions are the same as their counterparts in the STRINGS
unit. The following functions are the same :
-
StrCat : Concatenates two
PCharstrings. -
StrComp : Compares two
PCharstrings. -
StrCopy : Copies a
PCharstring. -
StrECopy : Copies a
PCharstring and returns a pointer to the terminating null byte. - StrEnd : Returns a pointer to the terminating null byte.
-
StrIComp : Case insensitive compare of 2
PCharstrings. -
StrLCat : Appends at most L characters from one
PCharto anotherPChar. -
StrLComp : Case sensitive compare of at most L characters of 2
PCharstrings. -
StrLCopy : Copies at most L characters from one
PCharto another. -
StrLen : Returns the length (exclusive terminating null byte)
of a
PCharstring. -
StrLIComp : Case insensitive compare of at most L characters of 2
PCharstrings. -
StrLower : Converts a
PCharto all lowercase letters. -
StrMove : Moves one
PCharto another. -
StrNew : Makes a copy of a
PCharon the heap, and returns a pointer to this copy. -
StrPos : Returns the position of one
PCharstring in another? -
StrRScan : returns a pointer to the last occurrence of on
PCharstring in another one. -
StrScan : returns a pointer to the first occurrence of on
PCharstring in another one. -
StrUpper : Converts a
PCharto all uppercase letters.
The subsequent functions are different from their counterparts in
STRINGS, although the same examples can be used.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
