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
Find position of second to last period in a string
VBScript: Pulling lastLogonTimestamp
Reference a selected rows column value from a gridview in VB .Net 3.5
Outlook hyperlinks take me to my homepage (not the actual link url
JQuery based image (actually an element of code) rotator
PL/SQL Performance
Problem getting last line of a log file on remote computer
Macro for delay send of an excel sheet to a mail recipient
Translate web site
putting a requiredfield on a combobox in asp