Result = Replace$ ( String , Pattern , ReplaceString )
Replaces every occurrence of the string Pattern in the string String by the string ReplaceString , and returns the result .
PRINT Replace$("Gambas is basic", "bas", "BAS")GamBAS is BASic PRINT Replace$("Gambas is basic", "a", "")
Gmbs is bsic PRINT Replace$("Gambas is basic", " ", "--")
Gambas--is--basic
LTrim$ | Left$ | Lower$ / LCase$ | Mid$ | RTrim$ | Replace$ | Right$ | Space$ | Split | String$ | Subst$ | Trim$ | Upper$ / UCase$