Index strings

Index strings in text according to line number