Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: how to remove a string from end of a line

by flexvault (Monsignor)
on Oct 09, 2015 at 22:02 UTC ( [id://1144339] : note . print w/replies, xml ) Need Help??


in reply to how to remove a string from end of a line

rpinnam,

Use 'rindex' and 'substr' to get your results.

Regards...Ed

"Well done is better than well said." - Benjamin Franklin