The long string handling routines cover several functional areas. Within these areas, some are used for the same purpose, the differences being whether they use a particular criterion in their calculations. The following tables list these routines by these functional areas:
String comparison routines:
Routine |
Case-sensitive |
Uses locale settings |
Supports MBCS |
AnsiCompareStr |
yes |
yes |
yes |
AnsiCompareText |
no |
yes |
yes |
AnsiCompareFileName |
no |
yes |
yes |
AnsiMatchStr |
yes |
yes |
yes |
AnsiMatchText |
no |
yes |
yes |
AnsiContainsStr |
yes |
yes |
yes |
AnsiContainsText |
no |
yes |
yes |
AnsiStartsStr |
yes |
yes |
yes |
AnsiStartsText |
no |
yes |
yes |
AnsiEndsStr |
yes |
yes |
yes |
AnsiEndsText |
no |
yes |
yes |
AnsiIndexStr |
yes |
yes |
yes |
AnsiIndexText |
no |
yes |
yes |
CompareStr |
yes |
no |
no |
CompareText |
no |
no |
no |
AnsiResemblesText |
no |
no |
no |
Case conversion routines:
Routine |
Uses locale settings |
Supports MBCS |
AnsiLowerCase |
yes |
yes |
AnsiLowerCaseFileName |
yes |
yes |
AnsiUpperCaseFileName |
yes |
yes |
AnsiUpperCase |
yes |
yes |
LowerCase |
no |
no |
UpperCase |
no |
no |
Routine |
Case-sensitive |
Supports MBCS |
AdjustLineBreaks |
NA |
yes |
AnsiQuotedStr |
NA |
yes |
AnsiReplaceStr |
yes |
yes |
AnsiReplaceText |
no |
yes |
StringReplace |
optional by flag |
yes |
ReverseString |
NA |
no |
StuffString |
NA |
no |
Trim |
NA |
yes |
TrimLeft |
NA |
yes |
TrimRight |
NA |
yes |
WrapText |
NA |
yes |
Sub-string routines:
Routine |
Case-sensitive |
Supports MBCS |
AnsiExtractQuotedStr |
NA |
yes |
AnsiPos |
yes |
yes |
IsDelimiter |
yes |
yes |
IsPathDelimiter |
yes |
yes |
LastDelimiter |
yes |
yes |
LeftStr |
NA |
no |
RightStr |
NA |
no |
MidStr |
NA |
no |
QuotedStr |
no |
no |
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|