in reply to Re: Removing Flanking "N"s in a DNA Stringin thread Removing Flanking "N"s in a DNA String
s/^N+//, s/N+$// for $dna; [download]