[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 132 lines (4 kb) |
Included or required: | 1 time |
Referenced: | 0 times |
Includes or requires: | 0 files |
utf8_strlen($str) X-Ref |
Wrapper round mb_strlen Assumes you have mb_internal_encoding to UTF-8 already Note: this function does not count bad bytes in the string - these are simply ignored param: string UTF-8 string return: int number of UTF-8 characters in string |
utf8_strpos($str, $search, $offset = FALSE) X-Ref |
Assumes mbstring internal encoding is set to UTF-8 Wrapper around mb_strpos Find position of first occurrence of a string param: string haystack param: string needle (you should validate this with utf8_is_valid) param: integer offset in characters (from left) return: mixed integer position or FALSE on failure |
utf8_strrpos($str, $search, $offset = FALSE) X-Ref |
Assumes mbstring internal encoding is set to UTF-8 Wrapper around mb_strrpos Find position of last occurrence of a char in a string param: string haystack param: string needle (you should validate this with utf8_is_valid) param: integer (optional) offset (from left) return: mixed integer position or FALSE on failure |
utf8_substr($str, $offset, $length = FALSE) X-Ref |
Assumes mbstring internal encoding is set to UTF-8 Wrapper around mb_substr Return part of a string given character offset (and optionally length) param: string param: integer number of UTF-8 characters offset (from left) param: integer (optional) length in UTF-8 characters from offset return: mixed string or FALSE if failure |
utf8_strtolower($str) X-Ref |
Assumes mbstring internal encoding is set to UTF-8 Wrapper around mb_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 param: string return: mixed either string in lowercase or FALSE is UTF-8 invalid |
utf8_strtoupper($str) X-Ref |
Assumes mbstring internal encoding is set to UTF-8 Wrapper around mb_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 param: string return: mixed either string in lowercase or FALSE is UTF-8 invalid |
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |