Function Reference: geodir_strtolower
Summary
Converts string to lower case.
Description
This function converts string to lower case. Ex: HelLO WorLd -> hello world.
When mbstring php extension available this function supports all unicode characters.
Package
Geodirectory
Parameters
- $string
- (string) (required) String to convert.
- Default: None
- $charset
- (string) (required) Character set to use for conversion.
- Default: None
Return Values
- (string)
- Returns converted string.
Change Log
Since: 1.5.4
Source File
geodir_strtolower() is located in geodirectory-functions/helper_functions.php [Line: 261]
Source Code
function geodir_strtolower($string, $charset='UTF-8') { if (function_exists('mb_convert_case')) { return mb_convert_case($string, MB_CASE_LOWER, $charset); } else { return strtolower($string); } }