vbTab?

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

    #1

    vbTab?

    Can some one translate this into C# for me:

    myString = "This is some text" & vbTab & "and some more text...."


    I cannot find an example of Tab characters being used.

    I've posted something similar before about characters and got "use UTF8" in
    response, but I can't find and example of how to use it.

    Thanks
    Mori


  • Mattias Sjögren

    #2
    Re: vbTab?

    Mori,
    [color=blue]
    >Can some one translate this into C# for me:
    >
    >myString = "This is some text" & vbTab & "and some more text...."[/color]

    myString = "This is some text\tand some more text....";



    Mattias

    --
    Mattias Sjögren [MVP] mattias @ mvps.org

    Please reply only to the newsgroup.

    Comment

    • Trevor

      #3
      Re: vbTab?

      vbTab is just a constant for the ASCII character 9 (horizontal tab).

      "Mori" <mori@design-paradigm.co.uk> wrote in message
      news:uPBuje3SDH A.3116@TK2MSFTN GP10.phx.gbl...[color=blue]
      > Can some one translate this into C# for me:
      >
      > myString = "This is some text" & vbTab & "and some more text...."
      >
      >
      > I cannot find an example of Tab characters being used.
      >
      > I've posted something similar before about characters and got "use UTF8"[/color]
      in[color=blue]
      > response, but I can't find and example of how to use it.
      >
      > Thanks
      > Mori
      >
      >[/color]


      Comment

      Working...