I am trying to remove specific unicode character in my string. Say we have below code .
public static string RemoveVerticalLine(this string source, char nil = ' ')
{
var s = '\u+007C';
return new string(source.Select(c => c == s ? nil : c).ToArray());
}
In the sample. I tried to remove the U+007c(Vertical Line). But I don't know why VS tell me error too many characters in character literal. Did I missed something?
