String function REPLACE
If there is insufficient information on this page and you wish learn more about REPLACE, please send an email to firstname.lastname@example.org. You can help to improve information about REPLACE by submitting an article using the comments link below. Note, an offline language reference text file is now avialable – see the Download section.
This function replaces only len characters. The default value of len is the length of str.
s="123456" ... ' Cut ? replace(s,3,"",len(s)) ... ' Replace ? replace(s,2,"bcd") ... ' Insert ? replace(s,3,"cde",0) ... ' Replace & insert ? replace(s,2,"RRI",2)