in reply to How can I find the first position of a substring case-insensitively?
my $position = index(lc($mystr),"a"); [download]