Re: Extract last 4 characters from string?

Поиск
Список
Период
Сортировка
От Ivan Sergio Borgonovo
Тема Re: Extract last 4 characters from string?
Дата
Msg-id 20071212225852.6937e321@webthatworks.it
обсуждение исходный текст
Ответ на Extract last 4 characters from string?  ("D. Dante Lorenso" <dante@lorenso.com>)
Список pgsql-general
On Wed, 12 Dec 2007 15:11:50 -0600
"D. Dante Lorenso" <dante@lorenso.com> wrote:

>    SELECT SUBSTR('ABCDEFGHIJKLMNOP', -4);

there is an example in the manual... still "regexpyous"

http://www.postgresql.org/docs/8.1/static/functions-string.html

substring('Thomas' from '...$') -> mas

--
Ivan Sergio Borgonovo
http://www.webthatworks.it


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

Предыдущее
От: "Rodrigo De León"
Дата:
Сообщение: Re: Extract last 4 characters from string?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: data type change on a view