in reply to addd spaces after caps & reduce whitespace to single space
All whitespaces to a single space char:$string =~ s/([A-Z])/ $1/g;
$string =~ s/(\s+)/ /gm;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: addd spaces after caps & reduce whitespace to single space
by prasadbabu (Prior) on Feb 19, 2005 at 15:37 UTC | |
by sh1tn (Priest) on Feb 19, 2005 at 16:06 UTC | |
by Tanktalus (Canon) on Feb 19, 2005 at 16:21 UTC | |
|