I'm sure this is easy, but I cant find a string fuction to do this:
I need to translate this:
$name="firstname lastname";
into
$name="<B>F</B><i>irstname</i>[space]<B>L</B><i>astname</i>";
I can strip and uppercase the first letter okay, but I cant find a way to distinguish the first name from the last name, I need a way to break the string by space, I thought I could do that with either str_replace or substr, but neitehr seem to do it.