Re: function - string ends with

Поиск
Список
Период
Сортировка
От Oliveiros Cristina
Тема Re: function - string ends with
Дата
Msg-id 021401c94bf9$b9fd87b0$ec5a3d0a@marktestcr.marktest.pt
обсуждение исходный текст
Ответ на function - string ends with  ("Kevin Duffy" <KD@wrinvestments.com>)
Список pgsql-sql
If I understand what you need,
I guess this clause does work.
 
 
WHERE string LIKE '%substring'
 
Best,
Oliveiros
----- Original Message -----
Sent: Friday, November 21, 2008 4:30 PM
Subject: [SQL] function - string ends with

Hello All:

 

Is anyone aware of a function in PgSQL that will check if a string ends with a specific string?

 

I.e.   rposition(substring in string )  returns int

        Starts searching right to left within string

 

 

Thanks for your attention to this matter.

 

 

Kevin Duffy

 

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

Предыдущее
От: "Kevin Duffy"
Дата:
Сообщение: Re: function - string ends with
Следующее
От: "Kevin Duffy"
Дата:
Сообщение: simple text parsing function