Hello
I don't know if this is a bug or intentional but consider the following code:
Dim MyString As String
MyString = "Hello world"
MyString.Replace("world", "everyone")
Log(MyString)
MyString = MyString.Replace("world", "everyone")
Log(MyString)
I'm assuming the line to replace "world" with "everyone" (line 3) is ignored as the first Log(MyString) outputs "Hello world".
The rest of the code behaves as expected so the second Log(MyString) outputs "Hello everyone".
Should the incorrect use of MyString.Replace on line 3 at least cause a warning or an error to appear in the logs?
Regards
Joe