| [ Index ] |
PHP Cross Reference of Joomla 1.5.26 DE |
[Source view] [Print] [Project Stats]
(no description)
| Version: | $Id: core.php 10381 2008-06-01 03:35:53Z pasamio $ |
| File Size: | 170 lines (5 kb) |
| Included or required: | 1 time |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
| utf8_strpos($str, $needle, $offset = NULL) X-Ref |
| 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 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, $needle, $offset = NULL) X-Ref |
| 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 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 = NULL) X-Ref |
| 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 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 |
| Generated: Wed Mar 28 15:54:07 2012 | Cross-referenced by PHPXref 0.7.1 |