Found a better way than a for loop to find the index of the characters