Início > lang > rinstr 
 en fr de es it nl pl pt mk sq ca hu cs tr ar fa id vi ko ja ru zh zh_TW eo
Anterior  Próximo  Editar  Renomear  Desfazer  Procurar  Administração  
Documentação  
Cuidado! Esta página não está traduziada.  Veja a versão em inglês 
RInStr
Position = RInStr ( String AS String , Substring AS String [ , Start AS Integer , Comparison AS Integer ] )

Returns the position of the last occurrence of Substring in String from right to left.

If Start _is specified, the search starts at the position _Start.

Comparison can be one of the following value:

If the substring is not found, this function returns zero.

Exemplo

PRINT RInStr("Gambas is basic", "bas")

11

PRINT RInStr("Gambas is basic", "bas", 10)

4

PRINT RInStr("Gambas is basic", "not")

0

Veja também

Funções de String