Strip out quotes

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is it possible to strip the quotes from a string value and declare the return
as an integer. ie.

make the string "1" = 1

I have tried replace but can't figure out the syntax to deal with the quotes.
 
See if the Eval() function will do what you want.

Eval("1")

Also, you may find the data conversion functions helpful.

CInt()
CLng()
CDbl()
CSgl()
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top