Hi, Suppose I have:
my $sentence = 'the quick brown fox jumps over the lazy dog." Now I want it to become: 'the quick brown:fox:jumps:over:the lazy dog." That is, to replace the spaces between brown-fox, fox-jumps, jumps-over, over-the, with ":". Should I split the sentence and put each in an array then iterate over the array? What do you think will be the quickest way to do this? Thanks! ____________________________________________________________________________________ Now that's room service! Choose from over 150,000 hotels in 45,000 destinations on Yahoo! Travel to find your fit. http://farechase.yahoo.com/promo-generic-14795097