in reply to How can I find the first position of a substring case-insensitively?

The easiest thing to do would be to use lc on $mystr like so:

  my $index = index( lc( $mystr ), "a" );
Edited by Russ: Combined posts by ambiguous, tektsu, kilinrax, ariels, and tenatious into one
  • Comment on Re: How can I find the first position of a substring case-insensitively?