C
Craig Buchanan
If I have a string variable, is there a way to get the Replace method to
work on *its* contents, without having to dimenstion a second variable?
Something like:
Dim MyTest as String = "<hello/>"
MyTest.Replace("<", "<")
MyTest.Replace(">", ">")
'MyTest now equals "<hello>"
This code doesn't work the way that I would expect. Can someone shed some
light on this?
Thanks,
Craig
work on *its* contents, without having to dimenstion a second variable?
Something like:
Dim MyTest as String = "<hello/>"
MyTest.Replace("<", "<")
MyTest.Replace(">", ">")
'MyTest now equals "<hello>"
This code doesn't work the way that I would expect. Can someone shed some
light on this?
Thanks,
Craig