string convert_cyr_string ( string $str , string $from , string $to )
它用于从一个字符集转换为另一个Cyrillic字符集
Sr.No | 参数 & Description |
---|---|
1 |
str 链接:https://www.learnfk.comhttps://www.learnfk.com/php/php-function-convert-cyr-string.html 来源:LearnFk无涯教程网 要转换的字符串 |
2 |
from Cyrillic文字符集,作为单个字符。 |
3 |
to 目标Cyrillic文字符集,作为单个字符。 |
它返回转换后的字符串。
<?php $str="tutorials Point "; echo convert_cyr_string($str,'w','a'); ?>
这将产生以下输出-
tutorials Point
祝学习愉快!(内容编辑有误?请选中要编辑内容 -> 右键 -> 修改 -> 提交!)