Support Joomla!

Packages

Package: utf8

License

Content on this site is copyright © 2005 - 2008 Open Source Matters Inc and can be used in accordance with the Joomla! Electronic Documentation License. Some parts of this website may be subject to other licenses.

File/phputf8/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 Sat, 14 Nov 2009 11:20:52 +0000 by phpDocumentor 1.3.1