___ function returns the first occurrence of a character in a string.
(a) string
(b) index
(c) split
(d) length
This question was addressed to me in an international level competition.
My doubt stems from perl topic in chapter Awk – An Advanced Filter & Perl – The Master Manipulator of Unix