Method |
Description |
|
bom ( ) : string |
Return UTF-8 byte order mark |
|
emojify ( $str ) : string |
Translate emoji tokens to Unicode font-supported symbols |
|
ltrim ( $str ) : string |
Strip whitespaces from the beginning of a string |
|
rtrim ( $str ) : string |
Strip whitespaces from the end of a string |
|
stripos ( $stack, $needle, $ofs ) : integer | FALSE |
Find position of first occurrence of a string (case-insensitive) |
|
stristr ( $stack, $needle, $before = FALSE ) : string | FALSE |
Returns part of haystack string from the first occurrence of
needle to the end of haystack (case-insensitive) |
|
strlen ( $str ) : integer |
Get string length |
|
strpos ( $stack, $needle, $ofs, $case = FALSE ) : integer | FALSE |
Find position of first occurrence of a string |
|
strrev ( $str ) : string |
Reverse a string |
|
strstr ( $stack, $needle, $before = FALSE, $case = FALSE ) : string | FALSE |
Returns part of haystack string from the first occurrence of
needle to the end of haystack |
|
substr ( $str, $start, $len ) : string | FALSE |
Return part of a string |
|
substr_count ( $stack, $needle ) : integer |
Count the number of substring occurrences |
|
translate ( $str ) : string |
Convert code points to Unicode symbols |
|
trim ( $str ) : string |
Strip whitespaces from the beginning and end of a string |
|