(PHP 4, PHP 5, PHP 7)
Recode a string according to a recode request
string recode_string ( string $request, string $string )
Recode the string string
according to the recode request request
.
Parameters:
request
The desired recode request type
string
The string to be recoded
Returns:
Returns the recoded string or FALSE
, if unable to perform the recode request.
Examples:
Basic recode_string() example
1 2 3 | <?php echo recode_string( "us..flat" , "The following character has a diacritical mark: á" ); ?> |
Please login to continue.