Hi All, Question. Can I chain these two substitutions together?
$ perl6 -e 'my $x=" State : abc "; $x ~~ s/.*?" : "//; $x ~~ s/" ".*//; say "<$x>";'
<abc> Many thanks, -T
Hi All, Question. Can I chain these two substitutions together?
$ perl6 -e 'my $x=" State : abc "; $x ~~ s/.*?" : "//; $x ~~ s/" ".*//; say "<$x>";'
<abc> Many thanks, -T