Join Up!
104886 members and counting!

 
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links 
search for in the  
previousstrrevstrspnnext
Last updated: Tue, 29 Oct 2002
view the printer friendly version or the printer friendly version with notes or change language to Czech | German

strrpos

(PHP 3, PHP 4 )

strrpos --  Encuentra la posición de la última aparición de un caracter en una cadena

Descripción

int strrpos ( string pajar, char aguja)

Devuele la posición numérica de la última aparición de la aguja en el pajar. Nótese que la aguja en este caso sólo puede ser un caracter único. Si se pasa una cadena como aguja, sólo se utilizará el primer caracter de la misma.

Si la aguja no es hayada, devuelve FALSE.

Si la aguja no es una cadena, se convierte a entero y se aplica como el valor ordinal de un caracter.

Vea también strpos(), strrchr(), substr(), stristr(), y strstr().

User Contributed Notes
strrpos
add a note about notes
There are no user contributed notes for this page.
previousstrrevstrspnnext
Last updated: Tue, 29 Oct 2002
Copyright © 2001, 2002 The PHP Group
All rights reserved.
This mirror generously provided by: http://phpbuilder.com/
Last updated: Thu Oct 31 18:34:28 2002 EST