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