Hello all,
How can I make Perl to tell me the character number of a match, for example in a text file I have:
CHI (3) - NSH (1)
DAL (4) - CHI (3)
VAN (3) - CHI (2)
Want I want to get is for CHI the character number in which appears, for example:
Line 1: 0
Line 2: 9
Line 3: 9
Any ideas or hints?.