[Mono-list] Problem with String.Replace()

Guillaume Bour g.bour@aposition.com
Wed, 9 Feb 2005 14:31:21 +0100


Hello, 

I have a problem with the String.Replace function.

I want to replace the german character ess-tsett ('ß') by another, but
it also replace double s ('ss').

Is it a normal thing, or is it a bug ?

Thanks.
Guillaume


testcase:
	string s = "press";
	Console.WriteLine("{0} :: {1}", s, s.Replace('ß', 'b'));

print "press :: preb"
--