remove spaces from beginning of lines
<p>i have a vb.net project and
i have text in a multi-line textbox
like this</p>

<pre><code>  abc
  def
   ghi
        jkl
 mn
</code></pre>

<p>every line starts with spaces
i want to remove the initial spaces from all line</p>

<p>i've tried</p>

<pre><code>For Each lne In TextBox1.Lines
            If lne.StartsWith(" ") Then
                TextBox1.Text = TextBox1.Text.Replace(" ", "")
            End If
        Next
</code></pre>

<p>but it deletes other texts in the text box and won't work</p>