In my program I have a text, which I'm splitting up into an Array of lines to modify the lines separately. For one modification I need to find the last index of a value in the text, to insert a new value in the line below. In my program I have a text, which I'm splitti