I want to trim leading and trailing spaces AND tabs from a string.
How do I specify both characters in the paramarray?
e.g. strTmp = strTmp.Trim( ???? )
i.e. how do I load a "paramarray" with a space and a tab char?
Thanks, DaveBo
Printable View
I want to trim leading and trailing spaces AND tabs from a string.
How do I specify both characters in the paramarray?
e.g. strTmp = strTmp.Trim( ???? )
i.e. how do I load a "paramarray" with a space and a tab char?
Thanks, DaveBo
(" "c, Convert.ToChar(9))
I think.
strTmp = strTmp.Trim() will get rid of any spaces, tabs, and returns automatically, if I recall.
Thanks, I just got this working
strTmp = strTmp.Trim(" ", Chr(9))