# Value results, syntax help

**URL:** <https://forum.inductiveautomation.com/t/value-results-syntax-help/55554>\
**Category:** Ignition\
**Tags:** perspective, ignition81\
**Created:** [January 31, 2022, 3:29pm UTC](https://forum.inductiveautomation.com/t/value-results-syntax-help/55554 "2022-01-31T15:29:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mjohnson0238](https://avatars.discourse-cdn.com/v4/letter/m/4bbf92/32.png) [@mjohnson0238](https://forum.inductiveautomation.com/u/mjohnson0238)\
**Post date:** [January 31, 2022, 3:29pm UTC](https://forum.inductiveautomation.com/t/value-results-syntax-help/55554/1 "2022-01-31T15:29:36Z")

</div>

Good day all I am trying to return a value like this: ‘V041%’  
I can get a return like this : V041% from this:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/f/2/f27454c682555d2ad059297aa1dc997e66051d29.png)

How can I add the quote so it will return ‘V041%’ ?

Thanks

---

<div class="post-metadata">

**Author:** ![lrose](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lrose/32/62724_2.png) [@lrose](https://forum.inductiveautomation.com/u/lrose)\
**Post date:** [January 31, 2022, 3:31pm UTC](https://forum.inductiveautomation.com/t/value-results-syntax-help/55554/2 "2022-01-31T15:31:10Z")

</div>

`"'V0" + {this.custom.twnum} + "%'"`

---

<div class="post-metadata">

**Author:** ![mjohnson0238](https://avatars.discourse-cdn.com/v4/letter/m/4bbf92/32.png) [@mjohnson0238](https://forum.inductiveautomation.com/u/mjohnson0238)\
**Post date:** [January 31, 2022, 3:32pm UTC](https://forum.inductiveautomation.com/t/value-results-syntax-help/55554/3 "2022-01-31T15:32:12Z")

</div>

“Slaps forehead!”

Yep, lol.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [January 31, 2022, 5:41pm UTC](https://forum.inductiveautomation.com/t/value-results-syntax-help/55554/4 "2022-01-31T17:41:40Z")

</div>

I would use a format transform to do this; it’s a little convoluted to set up but:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/7/5/75c2259bb7f1dfc8368893028f23af8372cd3212.png)

`''V000'%'''` is the actual pattern - two `''` to escape the initial single quote, the pattern is three 0s to always pad to the appropriate length, then `'` around the `%` to make it literal, then a trailing double-single-quote (🙃) to add the last literal.
