字符串转 大写
char *_strupr(
char *str
);
wchar_t *_wcsupr(
wchar_t *str
);
unsigned char *_mbsupr(
unsigned char *str
);
char *_strupr_l(
char *str,
_locale_t locale
);
wchar_t *_wcsupr_l(
wchar_t *str,
_locale_t locale
);
字符串转 小写
char *_strlwr(
char * str
);
wchar_t *_wcslwr(
wchar_t * str
);
unsigned char *_mbslwr(
unsigned char * str
);
char *_strlwr_l(
char * str,
_locale_t locale
);
wchar_t *_wcslwr_l(
wchar_t * str,
_locale_t locale
);
Find absolute value of integer | System::Math::Abs | |
Convert string to float | System::Convert::ToDouble | |
Convert string to int | System::Convert::ToInt32, System::Convert::ToUInt32 | |
Convert string to __int64 | System::Convert::ToInt64, System::Convert::ToUInt64 | |
Convert string to long | System::Convert::ToInt64, System::Convert::ToUInt64 | |
Convert double to string of specified length | System::Convert::ToString | |
Convert double to string with specified number of digits following decimal point | System::Convert::ToString | |
Convert double number to string; store string in buffer | System::Convert::ToString | |
_itoa, _i64toa, _ui64toa, _itow, _i64tow, _ui64tow, _itoa_s, _i64toa_s, _ui64toa_s, _itow_s, _i64tow_s, _ui64tow_s | Convert int or __int64 to string | System::Convert::ToString |
Find absolute value of long integer | System::Math::Abs | |
Convert long to string | System::Convert::ToString | |
Convert 1-byte multibyte character to corresponding 2-byte multibyte character | Not applicable. To call the standard C function, use PInvoke. For more information, see Platform Invoke Examples. | |
Convert Japan Industry Standard (JIS) character to Japan Microsoft (JMS) character | Not applicable. To call the standard C function, use PInvoke. For more information, see Platform Invoke Examples. | |
Convert JMS character to JIS character | Not applicable. To call the standard C function, use PInvoke. For more information, see Platform Invoke Examples. | |
Convert multibyte character to 1-byte hiragana code | Not applicable. To call the standard C function, use PInvoke. For more information, see Platform Invoke Examples. | |
Convert multibyte character to 1-byte katakana code | Not applicable. To call the standard C function, use PInvoke. For more information, see Platform Invoke Examples. | |
Convert 2-byte multibyte character to corresponding 1-byte multibyte character | Not applicable. To call the standard C function, use PInvoke. For more information, see Platform Invoke Examples. | |
Convert sequence of multibyte characters to corresponding sequence of wide characters | Not applicable. To call the standard C function, use PInvoke. For more information, see Platform Invoke Examples. | |
Convert multibyte character to corresponding wide character | Not applicable. To call the standard C function, use PInvoke. For more information, see Platform Invoke Examples. | |
Convert string to double | System::Convert::ToDouble | |
Convert string to long integer | System::Convert::ToInt64 | |
Convert string to unsigned long integer | System::Convert::ToUInt64 | |
Transform string into collated form based on locale-specific information | System::IFormattable::ToString | |
Convert character to ASCII code |
| |
tolower, _tolower, towlower, _tolower_l, _towlower_l, _mbctolower, _mbctolower_l, _mbctoupper, _mbctoupper_l | Test character and convert to lowercase if currently uppercase | System::Char::ToLower |
Convert character to lowercase unconditionally | System::String::ToLower | |
toupper, _toupper, towupper, _toupper_l, _towupper_l, _mbctolower, _mbctolower_l, _mbctoupper, _mbctoupper_l | Test character and convert to uppercase if currently lowercase | System::Char::ToUpper |
Convert character to uppercase unconditionally | System::String::ToUpper | |
Convert unsigned long to string | System::Convert::ToString | |
Convert sequence of wide characters to corresponding sequence of multibyte characters | Not applicable. To call the standard C function, use PInvoke. For more information, see Platform Invoke Examples. | |
Convert wide character to corresponding multibyte character | Not applicable. To call the standard C function, use PInvoke. For more information, see Platform Invoke Examples. | |
Convert wide-character string to a double | System::Convert::ToInt64, System::Convert::ToUInt64, System::Convert::ToSingle, System::Convert::ToDouble | |
Convert wide-character string to int | Not applicable. To call the standard C function, use PInvoke. For more information, see Platform Invoke Examples. | |
Convert wide-character string to __int64 | Not applicable. To call the standard C function, use PInvoke. For more information, see Platform Invoke Examples. | |