This program is to test a bug that was present in earlier version of ScriptBasic.
Example replace_bug1.bas :
print replace("abcd","bc","x"),"\n"
Result executing replace_bug1.bas :
Possible error messages sent to stderr: