in reply to Re: problem with removing space
in thread problem with removing space
Note that you can also use tr to squash multiple whitespace characters into single _s:
- tye (but my friends call me "Tye")$_= " This is \t a test\cM\n"; tr/ \t\f\r\n/_/s; print; __END__ prints "_This_is_a_test_"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: (tye)Re: problem with removing space
by suaveant (Parson) on Apr 03, 2001 at 21:56 UTC | |
by tye (Sage) on Apr 03, 2001 at 22:00 UTC | |
by suaveant (Parson) on Apr 03, 2001 at 22:08 UTC |