Been playing with Thunderbird reading a couple of UseNet newsgroups - Sybase being one of them. Sybase has an equivalent to REPLACE named STR_REPLACE. As far as I can tell it's the same function.