I have the following data as shown below,I want to remove the "#digit" at the end.Can I use chop function to remove it or is there another built-in perl module?pls advise
INPUT:- //depot/programfiles/scripts/files/data/src/script_iface4_hdlr.c#4 //depot/programfiles/scripts/files/data/src/script_pkt_mgr.c#7 //depot/programfiles/scripts/files/data/src/script_pkt_mgr.h#3 OUTPUT:- //depot/programfiles/scripts/files/data/src/script_iface4_hdlr.c //depot/programfiles/scripts/files/data/src/script_pkt_mgr.c //depot/programfiles/scripts/files/data/src/script_pkt_mgr.h
In reply to How do remove trailing data? by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |