DEV Community

loading...

Discussion on: Daily Challenge #1 - String Peeler

Collapse
choroba profile image
E. Choroba

Or maybe just

sub peeler { shift =~ s/^.|.$//gr }
Forem Open with the Forem app