title: Pattern matching on the beginning of a string in f#
body: <p>I am trying to match the beginning of strings in f#.  Not sure if I have to treat them as a list of characters or what.  Any suggestions would be appreciated.</p>
  
  <p>Here is a psuedo code version of what I am trying to do</p>
  
  <pre><code>let text = "The brown fox.."
  
  match text with
  | "The"::_ -&gt; true
  | "If"::_ -&gt; true
  | _ -&gt; false
  </code></pre>
  
  <p>So, I want to look at the beginning of the string and match.  Note I am not matching on a list of strings just wrote the above as an idea of the essence of what I am trying to do.</p>