eek_char_opt : <span><span>char option</span> <a href="#type-t">t</a></span></span></code></div><div class="spec-doc"><p><code>peek_char_opt</code> is the exception safe version of <code>peek_char</code>. It returns an option rather than throwing <code>exn</code> when <code>EOI</code> is reached.</p></div></div><div class="odoc-spec"><div class="spec value" id="val-peek_string" class="anchored"><a href="#val-peek_string" class="anchor"></a><code><span><span class="keyword">val</span> peek_string : <span>int