Is there any function to replace words in ASE?
Try the following:
SELECT str_replace( 'impossible', 'im',':)' )
select str_replace(original,search,replacement)
ASE does not have "REPLACE", but "str_replace". This will return varchar (LONG), you may have use cast to reduce it.
REPLACE (source string, search string, replacement string)
SELECT REPLACE( 'abc,def,ghi,jkl', 'abc', 'xx' ) FROM products