CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Guest

    Assigning a string containing a "

    Quick question, how do you assign a String characters that contain a "
    For example I want a string to actually contain this "anything" the word anything and the quotes ""


  2. #2
    Join Date
    May 1999
    Posts
    9

    Re: Assigning a string containing a "

    try this

    dim msg
    msg = InputBox("Type Stuff Here!")
    Text8.Text = Chr$(34) & msg & Chr$(34)

    hunter



  3. #3
    Guest

    Re: Assigning a string containing a "

    Hi there,
    u can use this code to add a " to a string

    msg = """" & "Hello" & """"






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