title: string option to string conversion
body: <p>How do I convert the string option data type to string in Ocaml? </p>
  
  <pre><code>let function1 data = 
    match data with
     None -&gt; ""
     | Some str -&gt; str 
  </code></pre>
  
  <p>Is my implementation error free? Here 'data' has a value of type <code>string option</code>.</p>