The function string_pos will return the position of a given substring within a given string. But let's say I have the following code:
text = "AAABAAABAAA";
Now, I want to run the string_pos function to find out the position of the 2nd B in this string, and only that 2nd B. What do I do?