分享到:更多 ------解决方案-------------------- 提供一种思路,先转拼音,
比如
大连 => da lian
再用ucwords()把每个单词的首字母转换为大写
da lian => Da Lian
最后去掉中间空格
Da Lian => DaLian
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn