<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <link rel="stylesheet" href="style.css" type="text/css"> <meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type"> <link rel="Start" href="index.html"> <link rel="previous" href="Mikmatch.Text.html"> <link rel="next" href="Mikmatch.Directory.html"> <link rel="Up" href="Mikmatch.html"> <link title="Index of exceptions" rel=Appendix href="index_exceptions.html"> <link title="Index of values" rel=Appendix href="index_values.html"> <link title="Index of modules" rel=Appendix href="index_modules.html"> <link title="Mikmatch" rel="Chapter" href="Mikmatch.html"><title>Mikmatch.Fixed</title> </head> <body> <div class="navbar"><a class="pre" href="Mikmatch.Text.html" title="Mikmatch.Text">Previous</a> <a class="up" href="Mikmatch.html" title="Mikmatch">Up</a> <a class="post" href="Mikmatch.Directory.html" title="Mikmatch.Directory">Next</a> </div> <h1>Module <a href="type_Mikmatch.Fixed.html">Mikmatch.Fixed</a></h1> <pre><span class="keyword">module</span> Fixed: <code class="code">sig</code> <a href="Mikmatch.Fixed.html">..</a> <code class="code">end</code></pre><hr width="100%"> <br> This module provides some functions which are useful for manipulating files with fields of fixed width.<br> <pre><span id="VALchop_spaces"><span class="keyword">val</span> chop_spaces</span> : <code class="type">string -> string</code></pre><div class="info "> <code class="code">chop_spaces s</code> returns a string where the leading and trailing spaces are removed.<br> </div> <pre><span id="VALint"><span class="keyword">val</span> int</span> : <code class="type">string -> int</code></pre><div class="info "> <code class="code">int s</code> reads an int from a string where leading and trailing spaces are allowed. Equivalent to <code class="code">Pervasives.int_of_string (chop_spaces s)</code>.<br> </div> <pre><span id="VALfloat"><span class="keyword">val</span> float</span> : <code class="type">string -> float</code></pre><div class="info "> <code class="code">float s</code> reads an float from a string where leading and trailing spaces are allowed. Equivalent to <code class="code">Pervasives.float_of_string (chop_spaces s)</code>.<br> </div> </body></html>