By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,667 Members | 1,296 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,667 IT Pros & Developers. It's quick & easy.

removing Tab

P: n/a
Hi all,

I only want to remove all the tab charactere on a string.
but I find how..

thanks for your help

bye
--
//--
Kevin Auch
http://www.dotnet-fr.org
--//
Nov 13 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
string.Replace('\t','')

--
Joe Feser [Xml MVP]
http://www.fesersoft.com/
..Net, XML, XSLT, SQL
Free Code, Articles and Information.
"Kevin Auch" <sk*****@wanadoo.fr> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Hi all,

I only want to remove all the tab charactere on a string.
but I find how..

thanks for your help

bye
--
//--
Kevin Auch
http://www.dotnet-fr.org
--//

Nov 13 '05 #2

P: n/a
Kevin Auch <sk*****@wanadoo.fr> wrote:
I only want to remove all the tab charactere on a string.
but I find how..


string withoutTabs = withTabs.Replace("\t", "");

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet/
If replying to the group, please do not mail me too
Nov 13 '05 #3

P: n/a
Thanks a lot..

--
//--
Kevin Auch
http://www.dotnet-fr.org
--//
"Jon Skeet" <sk***@pobox.com> a écrit dans le message de
news:MP************************@news.microsoft.com ...
Kevin Auch <sk*****@wanadoo.fr> wrote:
I only want to remove all the tab charactere on a string.
but I find how..


string withoutTabs = withTabs.Replace("\t", "");

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet/
If replying to the group, please do not mail me too

Nov 13 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.