help with c code
Chris Torek
torek at elf.ee.lbl.gov
Thu Feb 14 17:36:48 AEST 1991
In article <21584 at netcom.UUCP> bobb at netcom.UUCP (Bob Beaulieu) writes:
>I'm new to new to C and am trying to write a program to cut a name field
>into a first,middle and last fields. Problem: some names don't have middle
>names or initials, and some others have more (i.e. SR.,JR.,III,...).
These are not the only problems. For instance, consider the name
`Maria Lupita Josefa Carantinez y Pallano de la Torre-Wallace'.
Find the last name. :-)
The usual solution to the mess is to have the user mark the beginning of
the last name. Modern name databases are now getting better at handling
things other than `First Name, Middle Initial, Last Name' sequences,
which is a good thing for those who use something else.
--
In-Real-Life: Chris Torek, Lawrence Berkeley Lab EE div (+1 415 486 5427)
Berkeley, CA Domain: torek at ee.lbl.gov
More information about the Comp.lang.c
mailing list