 <span class="arrow">&#45;&gt;</span></span> <span>string <a href="#type-t">t</a></span></span></code></div><div class="spec-doc"><p><code>peek_string n</code> parse a string of length <code>n</code> without consuming it.</p><p>Examples</p><pre><code>module P = Reparse.String
open P

;;
let p = P.peek_string 5 in
let v = P.parse_string p &quot;hello&quot; in
v = &quot;hello&quot;</code></pre><p>Input is not consumed.</p></div></div><div class="odoc-spec"><div class="spec value" id="val-any_char" class="anch