laravel get first letter of each word

Solutions on MaxInterview for laravel get first letter of each word by the best coders in the world

showing results for - "laravel get first letter of each word"
Juan Martín
13 Jul 2018
1$words = explode(" ", "Community College District");
2$acronym = "";
3
4foreach ($words as $w) {
5  $acronym .= $w[0];
6}
7