True. or what about the Irish.. The Mc***'s or the Mac*'s !!
Hmmm? This will be a challenge for sure!!
Alexander Skwar <[EMAIL PROTECTED]> wrote:
>So sprach »PHP Junkie« am 2001-07-23 um 21:39:07 -0400 :
>> I'm taking in first name and last name data into a MySQL db through a
>> form. User
So sprach »Brian Dunworth« am 2001-07-24 um 10:00:36 -0400 :
> Well, usually that'd be "III". Of course, "John Smith, Iii" would be
> wrong...
Actually, this wouldn't matter as ucwords doesn't seem to touch all
capitalized word's - or so it was last time I checked IIRC.
But your scottish exam
So sprach »Ryan Fischer« am 2001-07-24 um 13:18:33 -0400 :
> Never heard of that one before. Usually, a medical doctor adds an
> "M.D." at the end of his name indicating so.
Hmm, this maybe the case in the states. "Dr. med." is the German title.
Alexander Skwar
--
How to quote: http://learn
You wrote:
> So sprach »Ryan Fischer« am 2001-07-24 um 07:35:37 -0400 :
> > Usually, "the 3rd" is written as "John Doe, III," AFAIK, so that's
not
> > really an issue.
>
> Okay, III isn't an issue then. What about people with Dr. titles?
Like
> 'Dr. med John Doe'. There the 'med' shouldn't be ca
So sprach »Ryan Fischer« am 2001-07-24 um 07:35:37 -0400 :
> Usually, "the 3rd" is written as "John Doe, III," AFAIK, so that's not
> really an issue.
Okay, III isn't an issue then. What about people with Dr. titles? Like
'Dr. med John Doe'. There the 'med' shouldn't be capitalized. And I'm
s
On Tuesday, July 24, 2001 2:32 AM, Alexander Skwar said:
> But this is not a good idea! There are Names (like "Hans vom Bach" or
> somesuch) which do NOT have to be captialized. Actually, capitalizing
> the "vom" would be wrong. Although this was just a German
> example, I'd bet there are name
You wrote:
> So sprach »PHP Junkie« am 2001-07-23 um 21:39:07 -0400 :
> > I'm taking in first name and last name data into a MySQL db through
a
> > form. Users sometimes don't capitalize their first and last names
when
> > entering the data. Is there a function to clean this up for
> > consistenc
So sprach »PHP Junkie« am 2001-07-23 um 21:39:07 -0400 :
> I'm taking in first name and last name data into a MySQL db through a
> form. Users sometimes don't capitalize their first and last names when
> entering the data. Is there a function to clean this up for
> consistency? If so, what is th
From: Opec Kemp [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 23, 2001 9:53 PM
To: PHP Junkie
Cc: PHP List
Subject: RE: [PHP] Capitalize Function ??
The function that you want is called: ucfirst()
http://www.php.net/manual/en/function.ucfirst.php
To make sure that string are consistant you might
The function that you want is called: ucfirst()
http://www.php.net/manual/en/function.ucfirst.php
To make sure that string are consistant you might want to convert all
characters in the string to Lower case first then call this function. This
will ensure that stuff like "JoHn sMITH" gets convert
10 matches
Mail list logo