Join Up!
104886 members and counting!

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

strspn

(PHP 3>= 3.0.3, PHP 4 )

strspn --  Encuentra la longitud del segmento inicial que coincide con la máscara

Descripción

int strspn ( string cad1, string cad2)

Devuelve la longitud del segmento inicial de cad1 que consiste por entero en caracteres contenidos en cad2.

strspn ("42 es la respuesta. ¿Cuál es la pregunta ...?", "1234567890");

devolverá 2 como resultado.

Vea también strcspn().

User Contributed Notes
strspn
add a note about notes
There are no user contributed notes for this page.
previousstrrposstrstrnext
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