The null-terminated string handling routines cover several functional areas. Within these areas, some are used for the same purpose, the differences being whether or not they use a particular criteria in their calculations. The following tables list these routines by these functional areas:
Null-terminated string comparison routines
Routine |
Case-sensitive |
Uses locale settings |
Supports MBCS |
AnsiStrComp |
yes |
yes |
yes |
AnsiStrIComp |
no |
yes |
yes |
AnsiStrLComp |
yes |
yes |
yes |
AnsiStrLIComp |
no |
yes |
yes |
StrComp |
yes |
no |
no |
StrIComp |
no |
no |
no |
StrLComp |
yes |
no |
no |
StrLIComp |
no |
no |
no |
Null-terminated case conversion routines
Routine |
Uses locale settings |
Supports MBCS |
AnsiStrLower |
yes |
yes |
AnsiStrUpper |
yes |
yes |
StrLower |
no |
no |
StrUpper |
no |
no |
String modification routines
Routine |
StrCat |
StrLCat |
Sub-string routines
Routine |
Case-sensitive |
Supports MBCS |
AnsiStrPos |
yes |
yes |
AnsiStrScan |
yes |
yes |
AnsiStrRScan |
yes |
yes |
StrPos |
yes |
no |
StrScan |
yes |
no |
StrRScan |
yes |
no |
Null-terminated string copying
Routine |
StrCopy |
StrLCopy |
StrECopy |
StrMove |
StrPCopy |
StrPLCopy |
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|