> If I have this string: > > $currYear = 2002; > > How can I remove first two digits? >
I guess that's not a right way, but for this attemp, you can try : $currYear =~ s/\d{2}(\d{2})/$1/; Rgds, Connie > Thank you! > > __________________________________________________ > Do You Yahoo!? > Yahoo! Health - Feel better, live better > http://health.yahoo.com > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]