Microsoft
Software
Hardware
Network
Question : Using PHP to make First Initial Last Name Combination
Using php I need to turn the format "first name last name, title" such as:
Tim Johnson, CEO
into "first inital last name combined" such as:
tjohnson
Could someone share the code with me to do this?
Thanks!
Answer : Using PHP to make First Initial Last Name Combination
It had a typo:
$combined = preg_replace('/^([a-zA-Z])
[a-zA-|]+\
([a-zA-Z]+).*$/', '\1\2', $fullname);
$combined = strtolower($combined);
Random Solutions
Editable dropdown list in ASP.net 3.5 using C#
Clearing a submit form once submitted
Operation Must Use an Updateable Query
Restarting a WPF application to apply updates
Need Code To Lock All Controls On Form
Intel VT vs. AMD-V for Hyper-V
ACCES and Excel Fastest way to transfer data
HP Driver Dowload problems
permissions changed after moving folder from one server to another
Electric Wiring problem ?