Padding a string using PadRight method
<p>I am trying to add spaces to end of a string in C#:</p>

<pre><code>Trip_Name1.PadRight(20);
</code></pre>

<p>Also tried:</p>

<pre><code>Trip_Name1.PadRight(20,' ');
</code></pre>

<p>None of this seems to work. However I can pad the string with any other character. Why?</p>

<p>I should have been more specific, here is full code:</p>

<pre><code>lnk_showmatch_1.Text = u_trip.Trip_Name1.PadRight(20,' ');
</code></pre>
