|
Posted by correspondent on 10/11/07 11:59
I've been asked to manipulate the input from a name-and-address form
so that the inputting operators can use lower-case all the way through
the form. Well, that's no problem with ucfirst() and stuff, but how
do I handle
O'Hara ?
When I go -
$sections[]=explode("'", $surname);
$section0=$sections[0];
$section1=ucfirst($sections[1]);
$surname=$section0."'".$section1;
I wind up with O'hara
I suppose the answer will hit me two seconds after pressing this Enter
button, but in case it doesn't, can someone help, please?
Navigation:
[Reply to this message]
|