Contents:
Str2D
Str2D.replace()
Replace the data.
old (str) – The string to replace.
new (str) – The string to replace with.
A new Str2D object with the data replaced.
ValueError – If the length of the old and new strings are not the same.