Converts a Unicode string from mixed case to case-neutral.
#include <unilib.h> unicode_t *unin2mono ( unicode_t *dest, const unicode_t *src, UniCase_t casing, size_t destLen );
(OUT) Points to the converted string.
(IN) Points to the source string to use in the conversion.
(IN) Specifies the type of case to use.
Flag |
Value |
Description |
---|---|---|
UNI_CASE_DEFAULT |
(-3) |
Use default monocase. |
UNI_CASE_UPPER |
0 |
Make uppercase. |
UNI_CASE_LOWER |
1 |
Make lowercase. |
UNI_CASE_TITLE |
2 |
Make the first letter of each word uppercase. |
If you are using the Watcom compiler, check the unilib.h file for the values.
(IN/OUT) Points to the maximum number of Unicode characters that the destination string can hold when the function is called. When the function returns, it contains the number of Unicode characters in the converted string.
Returns the converted string.