in reply to How can I find the first position of a substring case-insensitively?
index(lc($mystr),'a') [download]
Originally posted as a Categorized Answer.