Commonly Used Routines for Null-terminated Strings
Go Up to Working with Strings
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:
Where appropriate, the tables also provide columns indicating whether the routine is case-sensitive, uses the current locale, and/or supports multi-byte character sets.
Contents
Null-terminated String Comparison Routines
| Routine | Case-sensitive | Uses locale settings | Supports MBCS |
|---|---|---|---|
|
yes |
yes |
yes | |
|
no |
yes |
yes | |
|
yes |
yes |
yes | |
|
no |
yes |
yes | |
|
yes |
no |
no | |
|
no |
no |
no | |
|
yes |
no |
no | |
|
no |
no |
no |
Null-terminated Case Conversion Routines
| Routine | Uses locale settings | Supports MBCS |
|---|---|---|
|
yes |
yes | |
|
yes |
yes | |
|
no |
no | |
|
no |
no |
Null-terminated String Modification Routines
| Routine |
|---|
Null-terminated Sub-string Routines
| Routine | Case-sensitive | Supports MBCS |
|---|---|---|
|
yes |
yes | |
|
yes |
yes | |
|
yes |
yes | |
|
yes |
no | |
|
yes |
no | |
|
yes |
no |
Null-terminated String Copying
| Routine |
|---|