[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

how to add double quotes to a variable?

Posted on 2006-11-15
2
Medium Priority
?
180 Views
Last Modified: 2006-12-11
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.

0
Comment
Question by:mrong
2 Comments
 
LVL 18

Assisted Solution

by:Morcalavin
Morcalavin earned 80 total points
ID: 17947343
YOu mean like this?
<%
myString = """1111"""
Response.Write myString
%>
0
 
LVL 6

Accepted Solution

by:
DonKyles earned 120 total points
ID: 17963584
Dim MyBuilding
MyBuilding = """" & MyBuilding & """"
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Suggested Courses

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question