[Solved] Put " in your driver als char

Home Forums V-Control General [Solved] Put " in your driver als char

Tagged: ,

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #1027


    I have to comunicate with xml code with a Device, but know i have to put in some “” Chars, to send them to the device. The problem is, that the “” are reserved for the driver and to put a chr() for every ” would be a mess, so the question is, is there a better workaround to do this?

    For example, i have to send something like <DestMgr id=”2″>

    Best regards,

    • This topic was modified 6 years, 8 months ago by Dierk Walter.

    Hi Jonas,

    the answer is very simple. Use 4 x ” for each ”
    Scriptresult = "<DestMgr id=""""2"""">"


    It should be also possible to use a variable for this

    dim M as string

    m = """"""

    Scriptresult = "<DestMgr id=M+2+M>"

    I did not test this and I think it’s not a much better solution then the first one.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.