Getting item index on a list

Hi fellas, I need some help if this is possible.
I’m using this block to get the item index and get some changes to that item. But the problem is it requires a complete string on that item to get the item index. What I wanted to do is, to get the item index that contains the string even if it is not complete.