C#代码"1\u02ff".IndexOf("1")
返回-1
unicode char 02ff
有什么特别之处?
为什么代码返回-1
?
答案 0 :(得分:4)
results
和values()
合并以形成与您文化中的Set
不同的字符results
(下图)由于the modifier letter low left arrow (u02ff)已经修改了"这个角色。
使用apply(df[, -1], 1, function(x) {
sum(combn(x, 2, prod))
}
)
将返回1
。