a " </div><div class='input'><span class='fu'>heddle</span>(<span class='no'>spList</span>, <span class='st'>"SPECIES CODE GWAR "</span>, <span class='st'>"GWAR"</span>, <span class='st'>"CODE"</span>)</div><div class='output co'>#&gt; [1] "SPECIES setosa setosa "         "SPECIES versicolor versicolor "
#&gt; [3] "SPECIES virginica virginica "  </div><div class='input'><span class='fu'>heddle</span>(<span class='st'>"test string"</span>, <span class='st'>"pattern tk"</span>, <span class='st'>"tk"</span>, <