class="co"># heddle takes three arguments: data, pattern, placeholder to replace</span>
<span class="fu"><a href="../reference/heddle.html">heddle</a></span>(<span class="fu"><a href="https://rdrr.io/r/base/unique.html">unique</a></span>(<span class="no">iris</span>$<span class="no">Species</span>), <span class="st">"This is a pattern - CODE "</span>, <span class="st">"CODE"</span>)
<span class="co">#&gt; [1] "This is a pattern - setosa "     "This is a pattern - versicolor "</span>
<span class="co">#&gt; [