[firebase-br] Função POS

Hélio Oliveira hpensador em gmail.com
Ter Nov 3 22:38:08 -03 2009


Em 03/11/2009 21:25, Hélio Oliveira escreveu:
> Boa noite Colegas!
>
> Já temos no Firebird a função POS ou algo similar a referida função do
> Delphi.
>
> Fiz uma busca na net e também no Release Notes da versão 2.1.3 e não
> encontrei.
>
>

Desculpe pessoal, após pesquisar com mais afinco, encontrei no release 
notes a função POSITION

POSITION See below Returns the start position of the first string inside the
second string, relative to the beginning of the outer
string. In the second form, an offset position may be
supplied so that the function will ignore any matches
occuring before the offset position and return the
first match following that.
POSITION( <string> IN <string> )
POSITION( <string>, <string> [, <offset-position>] )



-- 
[]'s,

Hélio Oliveira
Analista de Sistemas





Mais detalhes sobre a lista de discussão lista