it looks like GHI is using an unpatched version of NETMF 4.2, as I get this bug when using StringBuilder.Replace:
String replaced = new StringBuilder("My car is a a0a a1a a2a").Replace("a0a","blue").ToString(); Debug.Print(replaced); // replaced: yMy car is ablue a1a a2a
the above was already reported in netduino in the past here :
and a patch was provided by netmf team as explained here.
so why are we still seeing this bug ?