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
Default Printer Changes using Terminal Server
Enumerable or Strongly typed List of Guids
Microsoft Outlook 2007 is pulling duplicate emails from free hotmail live server - how can I prevent this, its driving me mad.
how can i get Hard Disk Serial number (unique) in C#.net web application ??
Access / how many users connected?
Need help on rollover buttons in flash in Flash CS4 and AS 3
Windows Rights Management Server
How to request previous month's records in my sql's where clause?
I'll bet you can't pass this test about how Windows 7 explorer sorts directories by date?
How to convert non ansi outer join =* to ansi outer join