# How to concatenate a quotation mark?

**URL:** <https://community.weweb.io/t/how-to-concatenate-a-quotation-mark/3182>\
**Category:** How do I?\
**Created:** [June 22, 2023, 6:08pm UTC](https://community.weweb.io/t/how-to-concatenate-a-quotation-mark/3182 "2023-06-22T18:08:55Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![brandon](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/brandon/32/2804_2.png) [@brandon](https://community.weweb.io/u/brandon)\
**Post date:** [June 22, 2023, 6:08pm UTC](https://community.weweb.io/t/how-to-concatenate-a-quotation-mark/3182/1 "2023-06-22T18:08:55Z")

</div>

I thought this would be a simple Excel solution, but while I can get this work in Excel, I can’t replicate it in WeWeb’s formulas.

I’m pulling a number from my database (for example, 24) and then want to append it with a quotation since it’s referring to a screen size. So I want the final output to appear as follows:

`24"`

However, since this is using a quotation, I imagine that is messing with the code. Any solutions to get around this?  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/4/45f9ed10eacaf0760f63cf77c874a0ebd2a16c6a.png)

---

<div class="post-metadata">

**Author:** ![Broberto](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/broberto/32/5918_2.png) [@Broberto](https://community.weweb.io/u/Broberto)\
**Post date:** [June 22, 2023, 6:18pm UTC](https://community.weweb.io/t/how-to-concatenate-a-quotation-mark/3182/2 "2023-06-22T18:18:30Z")

</div>

How about [variable] + “?”

---

<div class="post-metadata">

**Author:** ![brandon](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/brandon/32/2804_2.png) [@brandon](https://community.weweb.io/u/brandon)\
**Post date:** [June 22, 2023, 6:47pm UTC](https://community.weweb.io/t/how-to-concatenate-a-quotation-mark/3182/3 "2023-06-22T18:47:29Z")

</div>

Not the solution I was expecting but it did indeed do the job! Thank you!

![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/d/d4c92f60d54fb7d90cf7296d1411d0274a6e89bf.png)

---

<div class="post-metadata">

**Author:** ![Joyce](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/joyce/32/13232_2.png) [@Joyce](https://community.weweb.io/u/Joyce)\
**Post date:** [June 22, 2023, 7:11pm UTC](https://community.weweb.io/t/how-to-concatenate-a-quotation-mark/3182/4 "2023-06-22T19:11:58Z")

</div>

Nice!

Another way would be to put the " in between single quotes ’ or backquotes `

 ![CleanShot 2023-06-22 at 21.11.31@2x](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/3/3cde1c24ddeaad6d14af2fa8856e33f0eeae287b.png)

---

<div class="post-metadata">

**Author:** ![brandon](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/brandon/32/2804_2.png) [@brandon](https://community.weweb.io/u/brandon)\
**Post date:** [June 22, 2023, 10:52pm UTC](https://community.weweb.io/t/how-to-concatenate-a-quotation-mark/3182/5 "2023-06-22T22:52:14Z")

</div>

Oh very cool! Didn’t realize the + formula could be used like that!

---

<div class="post-metadata">

**Author:** ![aurelie](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/aurelie/32/13249_2.png) [@aurelie](https://community.weweb.io/u/aurelie)\
**Post date:** [June 23, 2023, 8:30am UTC](https://community.weweb.io/t/how-to-concatenate-a-quotation-mark/3182/6 "2023-06-23T08:30:04Z")

</div>

Thats because " is a special caracter for string in js.  
You can either escape it (`"\""`), or use a different string separator as Joyce explained
