[quote=250483:@Alexander van der Linden]Aahhrgg! Thought I could omit that parameter if empty.
[/quote]
I’m curious what on http://documentation.xojo.com/index.php/ReplaceAll or http://developer.xojo.com/replaceall mislead you to believe it was optional ?
This really isn’t a criticism more to understand WHY you thought it was optional if empty
I read: “If newString is an empty string (”"), the ReplaceAll function deletes every occurrence of the oldString in the sourceString"
So reading not closely enough I saw ‘empty’ and thought - Hey I can leave that one out, like in the Mid() function.