Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Addslashes alternative for Flex?

Status
Not open for further replies.

beltmanjr

Technical User
Oct 29, 2007
333
NL
Hi there,
wondering if Flex knows a function to add slashes like the php addslashes function.

This required as flex doesnt take kindly to my external input which reads somethings like:

["date(2008,01,10)"]

It probably changes it in the background into:

"["date(2008,01,10)"]"

No problem wouldnt it be used in a navigateToURL(url,"_blank"); function and takes the comma tobe part of the function rather than seeing it as 1 string.

"[\"date(2008,01,10)\"]"

would give an easy solution.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top