Re: Replace string with list of strings via character changes

2009-04-12 Thread Dr.Ruud
Kelly Jones wrote: I want to ASCII-ify the geonames alternatenames table using iso-8859-1. Also try Text::Unidecode. -- Ruud -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

Re: Replace string with list of strings via character changes

2009-04-11 Thread Kelly Jones
-Original Message- >> From: Kelly Jones [mailto:kelly.terry.jo...@gmail.com] >> Sent: Friday, April 10, 2009 13:33 >> To: beginners@perl.org >> Subject: Replace string with list of strings via character changes >> >> I want to replace all the o's in a

RE: Replace string with list of strings via character changes

2009-04-10 Thread Wagner, David --- Senior Programmer Analyst --- CFS
> -Original Message- > From: Kelly Jones [mailto:kelly.terry.jo...@gmail.com] > Sent: Friday, April 10, 2009 13:33 > To: beginners@perl.org > Subject: Replace string with list of strings via character changes > > I want to replace all the o's in a string with x&

Replace string with list of strings via character changes

2009-04-10 Thread Kelly Jones
I want to replace all the o's in a string with x's or y's and all the a's in a string with u's or v's. Example: given string "foobar", the output would be this list of strings fxxbur (change both o's to x, and the a to u) fxxbvr (both o's to x, a to y) fxybur (first o to x, second to y, and the a