develooper Front page | perl.perl6.users | Postings from September 2018

case insensitive "contains"?

Thread Next
From:
ToddAndMargo
Date:
September 7, 2018 22:50
Subject:
case insensitive "contains"?
Message ID:
5a602ac3-6909-738f-0289-fa7704402a41@zoho.com
Hi All,

How do I use "contains" without regard to case?

$ p6 'if "2018 Jul 7".contains( "jul", 3 ) {say "Yes";}'


Many thanks,
-T

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About