📜  句子获取第一个第二个单词 php laravel - PHP 代码示例
📅  最后修改于: 2022-03-11 14:53:45.193000             🧑  作者: Mango
代码示例2
$words = explode(" ", "Community College District");
$acronym = "";
foreach ($words as $w) {
$acronym .= $w[0];
}