Jump to content

How do you include quotes in a string?


Drew
 Share

Recommended Posts

Alright I need to have quotes in something , but when I try it just closes the previous set of quotes and so on so forth.

I need it to be ONE quote... with quotations INSIDE of it.

How do you do this?

I tested a few things , for example , using 's

MsgBox( 0, "asdf", '"hi"') <-- Returned "hi"

But thats not working with what I'm doing now...

Clipput( '<a href"http://friends.myspace.com/index.cfm?fuseaction=invite.addfriend_verify&friendID='&$read'">Quick Add</a>' )

What this program will ultimately accomplish is allowing users to produce a hyperlink done in HTML in 1 very simple , very quick step.... but if you know anything about HTML , I need those quotations in it... So How would I include them without getting errors?

I've been trying alot of things and can't find a working method.

Thanks for any comments,

*Drew

Link to comment
Share on other sites

The system has been slow most of the day, I've been getting the internal error as well.

To get around the quotes issue, use single quotes outside of double quotes.

Example

msgbox('"Quoted Text"',"Your text here")

That will return a message box with "Quoted Text" as the title, and Your text here as the message

Kerros===============================================================How to learn scripting: Figure out enough to be dangerous, then ask for assistance.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...