How can I add Multiple var in this code?
var trimChars = "ab";
sample I want to add:
"ab", "as", "Ab", "As"
is that possible?
further more heres some of my code:
if (e.KeyCode == Keys.Enter)
{
string Slb = lb.SelectedText.ToString();
var trimChars = "ab";
var trimmed = Slb.TrimStart(trimChars.ToCharArray());
rtb.SelectedText = trimmed;
lb.Hide();
}
thanks in advance and sorry for this newbie question :) .more power!