/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
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 47)
Assumes mbstring internal encoding is set to UTF-8
Wrapper around mb_strrpos Find position of last occurrence of a char in a string
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 82)
Assumes mbstring internal encoding is set to UTF-8
Wrapper around mb_substr Return part of a string given character offset (and optionally length)
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 Mon, 05 Mar 2007 20:55:46 +0000 by phpDocumentor 1.3.1