Why doesn't this work?

BlitzMax Forums/BlitzMax Beginners Area/Why doesn't this work?

Replace is a function that returns a strin. The way you've called it, the return result is not used.

Try this:

num = replace(num, "1", "0")