$dna = "NNNNATCGNNNTCGANNN"; [download]
$noflank_end = "ATCGNNNTCGA"; [download]
In reply to Removing Flanking "N"s in a DNA String by monkfan