Is Replace() broke?

BlitzMax Forums/BlitzMax Beginners Area/Is Replace() broke?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

You might be better off using the string 'replace' method rather than the old retro string 'replace' function. Check out language > strings in the Blitzmax help.

eg.

Local t:String="***** HELLO *****"
Print t.Replace( "*","!" ) 'replaces all "*" with "!"