Shell String Handling Functions
This section describes the Windows Shell string handling functions. The programming elements explained in this documentation are exported by Shlwapi.dll and defined in Shlwapi.h and Shlwapi.lib.
In this section
| Topic | Description |
|---|---|
|
Converts a Unicode character string or a single character to lowercase. If the operand is a character string, the function converts the characters in place. Note CharLowerWrapW is a wrapper for the CharLowerW function. See the CharLower page for further usage notes. Note CharLowerWrapW is available for use in Windows XP. It may not be available in subsequent versions. You should use CharLowerW in its place. | |
|
Converts lowercase characters in a buffer to uppercase characters. The function converts the characters in place. Note CharUpperBuffWrapW is a wrapper for the CharUpperBuffW function. See the CharUpperBuff page for further usage notes. Note CharUpperBuffWrapW is available for use in Windows XP. It may not be available in subsequent versions. You should use CharUpperBuffW in its place. | |
|
Performs a comparison between two characters. The comparison is not case-sensitive. | |
|
Compares two Unicode character strings, using a specified locale. Note CompareStringWrapW is a wrapper for the CompareStringW function. See the CompareString page for further usage notes. Note CompareStringWrapW is available for use in Windows XP. It will not be available in subsequent versions. You should use CompareStringW in its place. | |
|
Retrieves a string used with websites when specifying language preferences. | |
|
Formats a date as a date string for a specified locale. The function formats either a specified date or the local system date. Note GetDateFormatWrapW is a wrapper for the GetDateFormatW function. See the GetDateFormat page for further usage notes. Note GetDateFormatWrapW is available for use in Windows XP. It will not be available in subsequent versions. You should use GetDateFormatW in its place. | |
|
Formats time as a time string for a specified locale. The function formats either a specified time or the local system time. Note GetTimeFormatWrapW is a wrapper for the GetTimeFormatW function. See the GetTimeFormat page for further usage notes. Note GetTimeFormatWrapW is available for use in Windows XP. It may not be available in subsequent versions. You should use GetTimeFormatW in its place. | |
|
Performs a case-sensitive comparison of a specified number of characters from the beginning of two localized strings. | |
|
Performs a case-insensitive comparison of a specified number of characters from the beginning of two localized strings. | |
|
Compares a specified number of characters from the beginning of two localized strings. | |
|
Determines whether a character is either an alphabetical or a numeric character. This determination is based on the semantics of the language selected by the user during setup or through Control Panel. Note IsCharAlphaNumericWrapW is a wrapper for the IsCharAlphaNumericW function. See the IsCharAlphaNumeric page for further usage notes. Note IsCharAlphaNumericWrapW is available for use in Windows XP. It will not be available in subsequent versions. You should use IsCharAlphaNumericW in its place. | |
|
Determines whether a character represents a space. | |
|
Sends a Unicode string to the debugger for display. Note OutputDebugStringWrapW is a wrapper for the OutputDebugStringW function. See the OutputDebugString page for further usage notes. Note This function is available for use in Windows XP. It may not be available in subsequent versions. Use OutputDebugStringW in its place. | |
|
Extracts the string from the specified resource when given an indirect string (a string beginning with the @ symbol). All other strings copy to the output buffer unaltered. | |
|
Makes a copy of a string in newly allocated memory. | |
|
Appends one string to another. Note Do not use. See Remarks for alternative functions. | |
|
Copies and appends characters from one string to the end of another. Note Do not use. See Remarks for alternative functions. | |
|
Concatenates two Unicode strings. Used when repeated concatenations to the same buffer are required. | |
|
Searches a string for the first occurrence of a character that matches the specified character. The comparison is case-sensitive. | |
|
Searches a string for the first occurrence of a character that matches the specified character. The comparison is not case-sensitive. | |
|
Searches a string for the first occurrence of a specified character. The comparison is not case-sensitive. | |
|
Searches a string for the first occurrence of a specified character. The comparison is case-sensitive. | |
|
Compares two strings to determine if they are the same. The comparison is case-sensitive. | |
|
Compares strings using C run-time (ASCII) collation rules. The comparison is case-sensitive. | |
|
Compares two strings to determine if they are the same. The comparison is not case-sensitive. | |
|
Compares two strings using C run-time (ASCII) collation rules. The comparison is not case-sensitive. | |
|
Compares two Unicode strings. Digits in the strings are considered as numerical content rather than text. This test is not case-sensitive. | |
|
Compares a specified number of characters from the beginning of two strings to determine if they are the same. The comparison is case-sensitive. The StrNCmp macro differs from this function in name only. | |
|
Compares a specified number of characters from the beginning of two strings using C run-time (ASCII) collation rules. The comparison is case-sensitive. | |
|
Compares a specified number of characters from the beginning of two strings to determine if they are the same. The comparison is not case-sensitive. The StrNCmpI macro differs from this function in name only. | |
|
Compares a specified number of characters from the beginning of two strings using C run-time (ASCII) collation rules. The comparison is not case-sensitive. | |
|
Copies one string to another. Note Do not use. See Remarks for alternative functions. | |
|
Copies a specified number of characters from the beginning of one string to another. Note Do not use this function or the StrNCpy macro. See Remarks for alternative functions. | |
|
Searches a string for the first occurrence of any of a group of characters. The search method is case-sensitive, and the terminating NULL character is included within the search pattern match. | |
|
Searches a string for the first occurrence of any of a group of characters. The search method is not case-sensitive, and the terminating NULL character is included within the search pattern match. | |
|
Duplicates a string. | |
|
Converts a numeric value into a string that represents the number expressed as a size value in bytes, kilobytes, megabytes, or gigabytes, depending on the size. | |
|
Converts a numeric value into a string that represents the number expressed as a size value in bytes, kilobytes, megabytes, or gigabytes, depending on the size. Differs from StrFormatByteSizeW in one parameter type. | |
|
Converts a numeric value into a string that represents the number in bytes, kilobytes, megabytes, or gigabytes, depending on the size. Extends StrFormatByteSizeW by offering the option to round to the nearest displayed digit or to discard undisplayed digits. | |
|
Converts a numeric value into a string that represents the number expressed as a size value in bytes, kilobytes, megabytes, or gigabytes, depending on the size. Differs from StrFormatByteSizeA in one parameter type. | |
|
Converts a numeric value into a string that represents the number expressed as a size value in kilobytes. | |
|
Converts a time interval, specified in milliseconds, to a string. | |
|
Compares a specified number of characters from the beginning of two strings to determine if they are equal. | |
|
Appends a specified number of characters from the beginning of one string to the end of another. Note Do not use this function or the StrCatN macro. See Remarks for alternative functions. | |
|
Searches a string for the first occurrence of a character contained in a specified buffer. This search does not include the terminating null character. | |
|
Searches a string for the last occurrence of a specified character. The comparison is case-sensitive. | |
|
Searches a string for the last occurrence of a specified character. The comparison is not case-sensitive. | |
|
Accepts a STRRET structure returned by IShellFolder::GetDisplayNameOf that contains or points to a string, and returns that string as a BSTR. | |
|
Converts an STRRET structure returned by IShellFolder::GetDisplayNameOf to a string, and places the result in a buffer. | |
|
Takes an STRRET structure returned by IShellFolder::GetDisplayNameOf and returns a pointer to an allocated string containing the display name. | |
|
Takes an STRRET structure returned by IShellFolder::GetDisplayNameOf, converts it to a string, and places the result in a buffer. | |
|
Searches for the last occurrence of a specified substring within a string. The comparison is not case-sensitive. | |
|
Obtains the length of a substring within a string that consists entirely of characters contained in a specified buffer. | |
|
Finds the first occurrence of a substring within a string. The comparison is case-sensitive. | |
|
Finds the first occurrence of a substring within a string. The comparison is not case-sensitive. | |
|
Converts a string that represents a decimal value to an integer. The StrToLong macro is identical to this function. | |
|
Converts a string representing a decimal or hexadecimal value to a 64-bit integer. | |
|
Converts a string representing a decimal or hexadecimal number to an integer. | |
|
Removes specified leading and trailing characters from a string. | |
|
Takes a variable-length argument list and returns the values of the arguments as a printf-style formatted string. Note Do not use this function. See Remarks for alternative functions. | |
|
Takes a list of arguments and returns the values of the arguments as a printf-style formatted string. Note Do not use this function. See Remarks for alternative functions. |
Send comments about this topic to Microsoft
Build date: 3/7/2012