Solved

how to add double quotes to a variable?

Posted on 2006-11-15
2
173 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

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…
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…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

733 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