Break on space (Textbox)
<p>In C# I know this</p>

<pre><code> if (textBox1.Text.Length &gt; x)
    {
        textBox1.AppendText(Environment.NewLine);
    }
</code></pre>

<p>(x is some random number)
But what if I want to break on first space before x?</p>
