Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ VBscript ➜ Problems with quotations

Problems with quotations

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Edgeofforever   (25 posts)  Bio
Date Sat 01 Jan 2005 08:09 PM (UTC)
Message
I'm not positive if this should go here, but I'm going to put it here anyways:

here is my problem: I want a script to be able to store and access the following string, exactly as it is:

Lord Kahl's "ThievesBlade"

Unfortunatly, when I try to access the contents of the variable using

if weapon = "Lord Kahl's "ThievesBlade"" then

there is an obvious problem with the quotations. Is there a way to put a character before the " to indicate its still part of the string?

Thanks
Top

Posted by Scypio   Poland  (50 posts)  Bio
Date Reply #1 on Sat 01 Jan 2005 08:28 PM (UTC)
Message
Use: if weapon = "Lord Kahl's ""ThievesBlade""" then
Top

Posted by Edgeofforever   (25 posts)  Bio
Date Reply #2 on Sat 01 Jan 2005 08:34 PM (UTC)
Message
perfect, thanks.
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


11,721 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.