REPLACE

REPLACE string old with num characters starting at start replaced by new

Synopsis

REPLACE(old,start,num,new)

Arguments

old: original text

start: starting position

num: number of characters to be replaced

new: replacement string

Microsoft Excel Compatibility

This function is Excel compatible.

See also

MID, SEARCH, SUBSTITUTE, TRIM.