how to add double quotes to a variable?


I have a varible named MyBuilding in my asp. I want to add double quotes to it. That is, if the MyBuilding is 1111, I want to have "1111" not "MyBuilding".

Thanks in advance.

Who is Participating?

Improve company productivity with a Business Account.Sign Up

DonKylesConnect With a Mentor Commented:
Dim MyBuilding
MyBuilding = """" & MyBuilding & """"
MorcalavinConnect With a Mentor Commented:
YOu mean like this?
myString = """1111"""
Response.Write myString
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.