I have a string and I want to extract the text abcd from this string, any idea how to do that, I use indexOf() method to get the start index as you can see