option explicit
sub replaceTest()
dim text, text_new as string
text = "hello bello world"
text_new = replace(text, "ll", "xyz")
debug.print("text_new = " & text_new)
' text_new = hexyzo bexyzo world.
end sub