welle has asked for the wisdom of the Perl Monks concerning the following question:
Dear monks
I have this simple Index line
my $result = index($line, " ");what if I want the same $result not only if a space is found but also if other characters are found (as alternatives), let's say: [\(\)\,\.\;\:\-\?\!\'\] Is this possible?
Back to
Seekers of Perl Wisdom