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
trouble with user clicking before content loads ASP and Javascript
I am new to webservices, please help.
Exchange 2007 / 2010 OWA Tweaking
Setting Compatibility Mode in IE8 using JavaScript
Forgot how to do 1 to many SQLs
Remotely add Computers into Domain.
Engine question
Crystal cross-tab page numbering
Using shell with redirection
isa 2004 and iis7