Forum und email
strcspn

strcspn

(PHP 3 >= 3.0.3, PHP 4, PHP 5)

strcspn --  Najít délku úvodního segmentu neodpovídajícího masce

Popis

int strcspn ( string str1, string str2 [, int start [, int length]] )

Vrací délku úvodního segmentu str1, který neobsahuje žádný ze znaků str2.

Viz také: strspn().