File/ext/utf8/strcspn.php

Description
Functions
utf8_strcspn (line 20)

UTF-8 aware alternative to strcspn

Find length of initial segment not matching mask Note: requires utf8_strlen and utf8_substr (if start, length are used)

int utf8_strcspn (string $str,  $mask, [ $start = NULL], [ $length = NULL])
  • string $str
  • $mask
  • $start
  • $length

Documentation generated on Thu, 08 Jan 2009 17:48:35 +0100 by phpDocumentor 1.4.0a2