replace text function

Поиск
Список
Период
Сортировка
От Mark Wilson
Тема replace text function
Дата
Msg-id 046c01c285e2$c74b0200$3301a8c0@merl
обсуждение исходный текст
Ответ на Re: i have got an error  ("scott.marlowe" <scott.marlowe@ihs.com>)
Ответы Re: replace text function  (Darren Ferguson <darren@crystalballinc.com>)
Список pgsql-general
Hi all,

I'm trying to find a function that will replace one word with another in a
string.

e.g. select <replace function>('bob was here, bobina wasnt', 'bob', 'mike');
will return "mike was here, mikeina wasnt"

Is there such a function already written in PostGreSQL?

Thanks in advance,
Mark


В списке pgsql-general по дате отправления:

Предыдущее
От: "scott.marlowe"
Дата:
Сообщение: Re: i have got an error
Следующее
От: Joe Conway
Дата:
Сообщение: Re: replace text function