Support Joomla!

Joomla! 1.5 Documentation

Packages

Package: utf8

License

Content on this site is copyright © 2005 - 2008 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution- NonCommercial- ShareAlike 2.5. Some parts of this website may be subject to other licenses.

File/phputf8/mbstring/core.php

Description
Constants
UTF8_CORE = TRUE (line 12)

Define UTF8_CORE as required

Functions
utf8_strpos (line 27)

Assumes mbstring internal encoding is set to UTF-8

Wrapper around mb_strpos Find position of first occurrence of a string

  • return: integer position or FALSE on failure
mixed utf8_strpos (string $str, string $search, [integer $offset = FALSE])
  • string $str: haystack
  • string $search: needle (you should validate this with utf8_is_valid)
  • integer $offset: offset in characters (from left)
utf8_strrpos (line 49)

Assumes mbstring internal encoding is set to UTF-8

Wrapper around mb_strrpos Find position of last occurrence of a char in a string

  • return: integer position or FALSE on failure
mixed utf8_strrpos (string $str, string $search, [integer $offset = FALSE])
  • string $str: haystack
  • string $search: needle (you should validate this with utf8_is_valid)
  • integer $offset: (optional) offset (from left)
utf8_substr (line 84)

Assumes mbstring internal encoding is set to UTF-8

Wrapper around mb_substr Return part of a string given character offset (and optionally length)

  • return: string or FALSE if failure
mixed utf8_substr (string $str, integer $offset, [integer $length = FALSE])
  • string $str
  • integer $offset: number of UTF-8 characters offset (from left)
  • integer $length: (optional) length in UTF-8 characters from offset

Documentation generated on Tue, 29 Jan 2008 18:45:13 +0000 by phpDocumentor 1.3.1