jspencer
Well-known member
Woe is me! Can anyone see why this seemingly benign replace call wont actually replace anything?
Prints Wordl rather than the world that I expected.
Its bizarre!
Thanks for any help.
Justin
Code:
Dim sText As System.String = "Wordl"
sText.Replace("Wordl", "world")
Console.WriteLine(sText)
Prints Wordl rather than the world that I expected.
Its bizarre!
Thanks for any help.
Justin