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
Windows NT4 High Encryption Pack
Get DNS to clients when using IPV6 Stateless configuration
Setting up airport express - what are dns servers?
Laptop video not displaying
ASP.NET ChartControl
‘Browse’ button component in jsf
What does it mean if I am receiving output errors on all of my Cisco Aironet 1130AG?
ForeFront TMG Intermittent Internet Connection
TextBox Must Be Placed Inside Form Tag Error
MULTIPLE CTE