sub gapify { my $s = shift; return join '-', map(substr($s, 0, $_, ''), @_), # runs of the string $s; # the remainder of the string }
In reply to Re: Adding gaps to a sequence
by japhy
in thread Adding gaps to a sequence
by ariels
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |