 
- 帖子
- 766
- 积分
- 1457
- 技术
- 119
- 捐助
- 0
- 注册时间
- 2010-5-12
|
if在内部是使用lstrcmpW函数来比较字符串是否相等的(详见《批处理技术内幕:IF命令》)
lstrcmp函数的文档中有那么一段:
The lstrcmp function uses a word sort, rather than a string sort. A word sort treats hyphens and apostrophes differently than it treats other symbols that are not alphanumeric, in order to ensure that words such as "coop" and "co-op" stay together within a sorted list. For a detailed discussion of word sorts and string sorts, see the Remarks section for the CompareString function.
连字符(hyphen)和撇号(apostrophe)会被区别对待。 |
-
1
评分人数
-
|