[Previous][Up][Next] Reference for unit 'sysutils' (#rtl)

PChar related functions

Most PChar functions are the same as their counterparts in the STRINGSunit. The following functions are the same :

  1. StrCat: Concatenates two PCharstrings.
  2. StrComp: Compares two PCharstrings.
  3. StrCopy: Copies a PCharstring.
  4. StrECopy: Copies a PCharstring and returns a pointer to the terminating null byte.
  5. StrEnd: Returns a pointer to the terminating null byte.
  6. StrIComp: Case insensitive compare of 2 PCharstrings.
  7. StrLCat: Appends at most L characters from one PCharto another PChar.
  8. StrLComp: Case sensitive compare of at most L characters of 2 PCharstrings.
  9. StrLCopy: Copies at most L characters from one PCharto another.
  10. StrLen: Returns the length (exclusive terminating null byte) of a PCharstring.
  11. StrLIComp: Case insensitive compare of at most L characters of 2 PCharstrings.
  12. StrLower: Converts a PCharto all lowercase letters.
  13. StrMove: Moves one PCharto another.
  14. StrNew: Makes a copy of a PCharon the heap, and returns a pointer to this copy.
  15. StrPos: Returns the position of one PCharstring in another?
  16. StrRScan: returns a pointer to the last occurrence of on PCharstring in another one.
  17. StrScan: returns a pointer to the first occurrence of on PCharstring in another one.
  18. StrUpper: Converts a PCharto all uppercase letters.

The subsequent functions are different from their counterparts in STRINGS, although the same examples can be used.