title: Check if string starts or ends with vbCrLf
body: <p>How can I check if a string starts (or ends) with <code>vbCrLf</code>?</p>
  <p>I've tried with <code>substring</code> but it doesn't seem to work:</p>
  <pre><code>Dim s As String = &quot;&quot;
  s &amp;= vbCrLf &amp; &quot;Test&quot;
  If s.Substring(0, 1) = vbCrLf Then
      MsgBox(&quot;Yes&quot;)
  End If
  </code></pre>