# \[AS\]Adding Quotation Marks to Variable

**URL:** <https://forum.kirupa.com/t/as-adding-quotation-marks-to-variable/138102>\
**Category:** Uncategorized\
**Created:** [February 19, 2005, 11:50pm UTC](https://forum.kirupa.com/t/as-adding-quotation-marks-to-variable/138102 "2005-02-19T23:50:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 19, 2005, 11:50pm UTC](https://forum.kirupa.com/t/as-adding-quotation-marks-to-variable/138102/1 "2005-02-19T23:50:28Z")

</div>

Hi everyone,  
I’ve been trying to add quotation marks to a variable for the past hour or so, but I haven’t been having much luck. Basically, here is what I am hoping to create:

```auto
blarg = W71;
temp = magic code that I can't figure out
trace(temp); // displays "W71"

```

I stumbled on a previous case of this issue: [http://www.kirupa.com/forum/showthread.php?t=66888&highlight=quotation](http://www.kirupa.com/forum/showthread.php?t=66888&highlight=quotation), but that method didn’t work for variables when I tried it. Adding a + symbol before and after blarg gave me an error.

Does anyone know of a simple way to incorporate quotation marks around my variable? 🙂

Thanks!  
Kirupa =)
