Replaces some string in a string

Legacy function ... not using regexpr

aux_strrep(origstr, oldsubstr, newsubstr)

Arguments

origstr

A string to replace something in

oldsubstr

Substring to replace

newsubstr

Substring to use for replacement

Value

Updated string