I have a code:
WCHAR * cmp = L"TEST";
Need a function which would return this string in lower case!
Thanks!
I have a code:
WCHAR * cmp = L"TEST";
Need a function which would return this string in lower case!
Thanks!
Based on the WCHAR
, you're presumably using (some version of) VC++. In this case, you want to use _wcslwr
or _wcslwr_s
. You normally do not want to use tolower
or toupper
on wide character strings.