recode_string

(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
<?php
echo recode_string("us..flat", "The following character has a diacritical mark: á");
?>

doc_php
2016-02-24 15:58:35
Comments
Leave a Comment

Please login to continue.