两个字符串:
String^ str1(L"abcd"); String^ str2(L"ABCD");
用String::compare(str1,str2) 为何结果是abcd字符串比ABCD字符串小呢?
请问在CLI下,字符串是用什么标准来比较字符串大小的呢?难道不再是字符码吗?是不是和L有关 ?谢谢!
L 表示强制为 unicode.
Please not forget mark your answer, and unmark your disagreed point.