How to display a text in one format without actually saving it : <p>I want to display text in one format to the user without actually saving it.</p>

<pre><code>string area = TextField.Text.Substring(0, 6);
                string major = TextField.Text.Substring(6, 4);
                string minor = TextField.Text.Substring(10, 4);
                CardNumberTextField.Text = string.Format("{0} {1} {2}", area, major, minor);
</code></pre>

<p>This works fine where it displays as expected but now <code>TextField.Text</code> also stores the value in same format, is there a better way where it just displays the text in one way but stores in normal format without spaces.</p>
