Solved

how to add double quotes to a variable?

Posted on 2006-11-15
2
171 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Attaching a file to SMTP in Classic ASP 1 41
HTML in email body has extra  tick marks 3 78
Issues with Insert statement 12 27
key press alert 2 19
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 was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

823 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