代码“1 \ u02ff”.IndexOf(“1”)返回-1

时间:2016-05-12 16:56:36

标签: c# unicode

C#代码"1\u02ff".IndexOf("1")返回-1

unicode char 02ff有什么特别之处?
为什么代码返回-1

1 个答案:

答案 0 :(得分:4)

resultsvalues() 合并以形成与您文化中的Set不同的字符results(下图)由于the modifier letter low left arrow (u02ff)已经修改了"这个角色。

使用apply(df[, -1], 1, function(x) { sum(combn(x, 2, prod)) } ) 将返回1

enter image description here