REPLACE(old,start,num,new)
old: original text
start: starting position
num: number of characters to be replaced
new: replacement string
This function is Excel compatible.
MID, SEARCH, SUBSTITUTE, TRIM.