removing Tab

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Kevin Auch

    #1

    removing Tab

    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
    Votre source d'information quotidienne sur les technologies .NET et l'univers numérique

    --//


  • Joe Feser

    #2
    Re: removing Tab

    string.Replace( '\t','')

    --
    Joe Feser [Xml MVP]

    ..Net, XML, XSLT, SQL
    Free Code, Articles and Information.


    "Kevin Auch" <skevtaz@wanado o.fr> wrote in message
    news:%23C6gvi5S DHA.2280@TK2MSF TNGP12.phx.gbl. ..[color=blue]
    > 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
    > --//
    >
    >[/color]


    Comment

    • Jon Skeet

      #3
      Re: removing Tab

      Kevin Auch <skevtaz@wanado o.fr> wrote:[color=blue]
      > I only want to remove all the tab charactere on a string.
      > but I find how..[/color]

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

      --
      Jon Skeet - <skeet@pobox.co m>
      Pobox has been discontinued as a separate service, and all existing customers moved to the Fastmail platform.

      If replying to the group, please do not mail me too

      Comment

      • Kevin Auch

        #4
        Re: removing Tab

        Thanks a lot..

        --
        //--
        Kevin Auch
        Votre source d'information quotidienne sur les technologies .NET et l'univers numérique

        --//
        "Jon Skeet" <skeet@pobox.co m> a écrit dans le message de
        news:MPG.197f5d 6ff701caf798a10 e@news.microsof t.com...[color=blue]
        > Kevin Auch <skevtaz@wanado o.fr> wrote:[color=green]
        > > I only want to remove all the tab charactere on a string.
        > > but I find how..[/color]
        >
        > string withoutTabs = withTabs.Replac e("\t", "");
        >
        > --
        > Jon Skeet - <skeet@pobox.co m>
        > http://www.pobox.com/~skeet/
        > If replying to the group, please do not mail me too[/color]


        Comment

        Working...