Trimstart and TrimEnd not working as wanted
<p>I am testing to cut the strings via C#, but I am not getting the results correctly.
It is still showing the full text exactString.</p>

<pre><code>String exactString = ABC@@^^@@DEF
char[] Delimiter = { '@', '@', '^', '^', '@', '@' };
string getText1 = exactString.TrimEnd(Delimiter);
string getText2 = exactString.TrimStart(Delimiter);
MessageBox.Show(getText1);
MessageBox.Show(getText2);
</code></pre>

<p>OUTPUT:</p>

<p><code>ABC@@^^@@DEF</code> for both getText1 and getText2.</p>

<p>Correct OUTPUT should be
ABC for getText1 and DEF for getText2.</p>

<p>How do I fix it?
Thanks.</p>
