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
How to sync a shared calendar Exchange 2003 Outloook 2007 and Iphones
PL/SQL Performance
Trying to redirect a user from http to https automatically. Windows 2008 running II7
How to commit changes of a Typed Dataset to database at once
SQL 2008 SP1 Ghost count!
Best Method for Reporting on and Editing Large Amounts of Data
C# 2005 how to Change the Target .NET Framework Version of an Existing Project
a program is attempting to send the following email message on your behalf - Windows Live mail
Computer restarted itself twice, event logs attached. Windows 7 Pro
Web Interface 5.3 PNAgent Site - Citrix Online Plug-in could not contact the server entered.