Announcement

Collapse
No announcement yet.

Passing double quotes in a string variable

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Mike Doty
    replied
    s = CHR$("Hello, ", $DQ,"world",$DQ,"!")

    Leave a comment:


  • RyanCross
    replied
    Another way is putting two quotes next to each other, at least it works in PB9:

    T$ = "hello ""world"""

    this will make T$ actually equal:
    hello "world"

    Leave a comment:


  • Edwin Knoppert
    replied
    T$ = "hello" & $DQ & "world" & $DQ

    Leave a comment:


  • dean goodman
    replied
    Hi, I'm doing some work for an Access Database but I caught a snag writing an event. I want the event to (among other things) change the Control ...


    Problem solved, by using Chr$(34)...sorry for the post...

    Leave a comment:


  • dean goodman
    started a topic Passing double quotes in a string variable

    Passing double quotes in a string variable

    Hi, i have run into a problem in passing a string variable to a shelled c++ program. In the case when the string variable has spaces in it the the passed variable is not entirely read.

    However, if i can get double quotes into the variable, it should be able to accept it. How does one put quotes inside a string variable?
Working...
X
😀
🥰
🤢
😎
😡
👍
👎