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
Switch 3Com 4800G doesn't save configuration ?
Group By Sql Query
Exchange 2007 - Error 5.1.0 - Unknown address error 550-'5.1.1 User unknown'
emc cx600 - how do I get dell 64 bit server to see the emc harddrives
Backup to NAS with Symantec Backup Exec 2010
A Web Exception occurred because an HTTP 401 - Unauthorized response was received from Unknown
How do I reverse tunnel with Putty?
PHP, ASP, Moneris
Oracle Error "To many precesion Specifiers"
How to remove new line from a string