Search
 
SCRIPT & CODE EXAMPLE
 

PHP

laravel get first letter of each word

$words = explode(" ", "Community College District");
$acronym = "";

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

PREVIOUS NEXT
Code Example
Php :: php not recognized 
Php :: Fatal error: Allowed memory size of 1610612736 bytes exhausted but already allocated 1.75G 
Php :: php regular expressions 
Php :: laravel date format 
Php :: aapanel ubuntu 20.04 
Php :: Clear from faild_jobs laravel 
Php :: page break in dompdf 
Php :: how to add sidebar to page.php 
Php :: unable to open file error in php 
Php :: laravel event generate 
Php :: remove product from cart by id woocommerce 
Php :: how to share a helper globally laravel 
Php :: remove item in an array php 
Php :: laravel search user details by specific role 
Php :: laravel validation date 
Php :: get user role in symfony 
Php :: php new stdClass object 
Php :: taxonomy_get_children drupal 8 
Php :: contact form 7 remove p 
Php :: php unique id 
Php :: laravel apache public folder 
Php :: wpdb get results foreach 
Php :: wp get post id by slug 
Php :: php group multidimensional array by value 
Php :: create laravel project with preferred version : 8 
Php :: laravel validation greater than or equal to 
Php :: laravel job delay dispatch 
Php :: php get function name 
Php :: string to decimal php 
Php :: how to change php version in cpanel 
ADD CONTENT
Topic
Content
Source link
Name
7+7 =