TRANSLATE

SmallBASIC syntax groups: 


String function TRANSLATE


10
20  TRANSLATE (source, what [, with])
30
Translates all occurrences of the string ‘what’ found in source with the string ‘with’ and returns the new string.


See examples


If there is insufficient information on this page and you wish learn more about TRANSLATE, please send an email to smallbasic@gmail.com. You can help to improve information about TRANSLATE by submitting an article using the comments link below. Note, an offline language reference text file is now avialable – see the Download section.

? Translate("Hello world", "o", "O")
' displays: HellO wOrld