Tutorialsplane

PHP convert_cyr_string Function


PHP convert_cyr_string Function : Is Used to convert one character set to another character set.


PHP convert_cyr_string Function Syntax

convert_cyr_string(string, from, to)

Following charsets are available :

PHP convert_cyr_string Function

$string = "Hello World !";
$str = convert_cyr_string($string,w,a);
echo $str;

Try it »

Output of the above example will be :

PHP convert_cyr_string Function

PHP String Functions