# \[AS\]Adding Quotation Marks to Variable

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

<div class="post-metadata">

**Author:** ![kirupa](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/kirupa/32/11616_2.png) [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Post date:** [February 19, 2005, 11:50pm UTC](https://forum.kirupa.com/t/as-adding-quotation-marks-to-variable/80164/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 =)
