in reply to Re: How to get the required names
in thread How to get the required names
All of the examples from the initial post would then become identical maggiesmiths. This would also work for the input MaggieSmith and Bubba-Joe Smith (producing bubbajoesmith) and for names which differ in cApiTaLiZatiOn.my $normalized_name = lc $name; $normalized_name =~ tr/a-z//cd; # or =~ s/[^a-z]//g
But, like you said, the specifics are a little sparse, so this solution may also be unsuitable.
|
---|