To save me re-inventing the wheel, does anyone have a function to
capitalise each word in form data? I was thinking along the lines of
capitalise the first letter of the string, then any other letter after a
space or hyphen.
So many users seem to think that just because they are online they can
use names like "mr john smith" and so I have to manually change them.
--
Nige
Please replace YYYY with the current year
ille quis mortem cum maximus ludos, vincat
capitalise each word in form data? I was thinking along the lines of
capitalise the first letter of the string, then any other letter after a
space or hyphen.
So many users seem to think that just because they are online they can
use names like "mr john smith" and so I have to manually change them.
--
Nige
Please replace YYYY with the current year
ille quis mortem cum maximus ludos, vincat
Comment