in reply to How do remove trailing data?
In honor of some guy with lots of experience$ perl -le" $_ = shift; print substr $_,0, rindex $_, q!#!" before#aft +er#last before#after $ perl -le" $_ = shift; print substr $_,0, index $_, q!#!" before#afte +r#last before
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How do remove trailing data?
by Anonymous Monk on Dec 24, 2010 at 03:12 UTC | |
by samarzone (Pilgrim) on Dec 24, 2010 at 07:32 UTC |