Define UTF8_CORE as required
Unicode aware replacement for strlen(). Returns the number
of characters in the string (not the number of bytes), replacing multibyte characters with a single byte equivalent utf8_decode() converts characters that are not in ISO-8859-1 to '?', which, for the purpose of counting, is alright - It's much faster than iconv_strlen Note: this function does not count bad UTF-8 bytes in the string
UTF-8 aware alternative to strpos
Find position of first occurrence of a string Note: This will get alot slower if offset is used Note: requires utf8_strlen amd utf8_substr to be loaded
UTF-8 aware alternative to strrpos
Find position of last occurrence of a char in a string Note: This will get alot slower if offset is used Note: requires utf8_substr and utf8_strlen to be loaded
UTF-8 aware alternative to strtolower
Make a string lowercase Note: The concept of a characters "case" only exists is some alphabets such as Latin, Greek, Cyrillic, Armenian and archaic Georgian - it does not exist in the Chinese alphabet, for example. See Unicode Standard Annex #21: Case Mappings Note: requires utf8_to_unicode and utf8_from_unicode
UTF-8 aware alternative to strtoupper
Make a string uppercase Note: The concept of a characters "case" only exists is some alphabets such as Latin, Greek, Cyrillic, Armenian and archaic Georgian - it does not exist in the Chinese alphabet, for example. See Unicode Standard Annex #21: Case Mappings Note: requires utf8_to_unicode and utf8_from_unicode
UTF-8 aware alternative to substr
Return part of a string given character offset (and optionally length) Note: supports use of negative offsets and lengths but will be slower when doing so
Documentation generated on Fri, 17 Mar 2006 00:28:08 +0100 by phpDocumentor 1.3.0RC4