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
Setting up a VPN IPsec Tunnel
Where can I download System.Web.Extensions 2.0 version?
Java Client Applet - AccessControlException
Outlook 2007 delete cross out message instead of deleting
Are multiple PHP session paths possible?
Remote Desktop not working via IP address
The user profile service failed the logon.
vCenter Converter and SBS2008
asp.net I have a sqldatasource select witha a where that searches between dates
How to connect to network printer linux