Is there any otherway to find the index of parent by using string?
No only as you do with findItems, but that's not very elegant and can easily lead to errors. So working with pointers is the better way. And your case is a standard case for doing so.
Bookmarks