📌  相关文章
📜  laravel 获取每个单词的首字母 - PHP 代码示例

📅  最后修改于: 2022-03-11 14:54:14.280000             🧑  作者: Mango

代码示例1
$words = explode(" ", "Community College District");
$acronym = "";

foreach ($words as $w) {
  $acronym .= $w[0];
}