C# Substring() stops string at & symbol -
c# substring() doesn't work, stops before & symbol:
var name = "my_company_&_friends"; var sub = name.substring(2); // sub should string starting symbol index 2 // sub should "_company_&_friends" // "_company_"
is bug ? how fix ?
it expecting
http://csharppad.com/gist/f38e23c03c66664698a7
what doing after causing issue.
Comments
Post a Comment