Solved

how to add double quotes to a variable?

Posted on 2006-11-15
2
170 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 20 total points
ID: 17947343
YOu mean like this?
<%
myString = """1111"""
Response.Write myString
%>
0
 
LVL 6

Accepted Solution

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

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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…
I would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

910 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now