Read more Like this Post.
this function used for finding the letters in the strings if its find its will return the index number of the letter or not its return -1 or (npos value).
out put of the code is 9 because " B " is index number of 9.
find_first_of() function used for finding letters in to strings. if found its return 0 or not its return -1.
11 May 2021