![]() |
|
Do you know where your variables are? | |
PerlMonks |
Re: Handling caps for surnames with capitals in the middle (was: Irish Surnames)by tmiklas (Hermit) |
on May 06, 2002 at 21:40 UTC ( #164457=note: print w/replies, xml ) | Need Help?? |
Maybe try building an array with prefixes and then check if surname begins with one of those prefixes. Yes - upcase the nex letter (hmmm - strip prefix, ucfirst, add prefix at the beginning or something); No - ucfirst (if needed). Greetz, Tom.
In Section
Seekers of Perl Wisdom
|
|