how to add double quotes to a variable?

Greeting,

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.

mrongAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
DonKylesConnect With a Mentor Commented:
Dim MyBuilding
MyBuilding = """" & MyBuilding & """"
0
 
MorcalavinConnect With a Mentor Commented:
YOu mean like this?
<%
myString = """1111"""
Response.Write myString
%>
0
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.