CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 1999
    Posts
    24

    How do I diplay " in a string

    If I have a string wich contains " I get an error... Maybe I have to do something like chr(somenumber) to get this working.. Can someone tell me how ??


  2. #2
    Join Date
    May 1999
    Posts
    3,332

    Re: How do I diplay " in a string

    if you need to assign a string with an embedded " code like this:
    Dim s As String
    s = "this is a ""test" ' watch the 2 "s
    MsgBox s



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured