Think about Loose Coupling | |
PerlMonks |
Re: How can I find the first position of a substring case-insensitively?by eg (Friar) |
on Dec 02, 2000 at 11:55 UTC ( [id://44560]=note: print w/replies, xml ) | Need Help?? |
The easiest thing to do would be to use lc on $mystr like so: Edited by Russ: Combined posts by ambiguous, tektsu, kilinrax, ariels, and tenatious into onemy $index = index( lc( $mystr ), "a" );
In Section
Seekers of Perl Wisdom
|
|