I am using the syntax: REPLACE(str,from_str,to_str)
to replace data in my table. However I have a slight issue I would like to address, when I have the following records
jon | jonathon | jonas | jonny
and I do the replace with
REPLACE(names, jon, '')
I am left with
| athon | as | ny
Is there a way that it can only replaces 'whole words' and not replace the string where it is part of a larger string?