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()
 
Back
Top