# Convert string in array to value

**URL:** <https://discourse.nodered.org/t/convert-string-in-array-to-value/56850>\
**Category:** General\
**Tags:** http-request, database\
**Created:** [18 January 2022 11:15 UTC](https://discourse.nodered.org/t/convert-string-in-array-to-value/56850 "2022-01-18T11:15:01Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [18 January 2022 13:39 UTC](https://discourse.nodered.org/t/convert-string-in-array-to-value/56850/12 "2022-01-18T13:39:54Z")

</div>

Ok copy and paste the payload (of good data) using the copy value button that appears under your mouse when you hover over the payload in the debug window.

surround your data with three backticks to prevent corruption...  
`````  
`like this`  
`````

See this post for more details - [How to share code or flow json](https://discourse.nodered.org/t/how-to-share-code-or-flow-json/506)

---

_[View the full topic](https://discourse.nodered.org/t/convert-string-in-array-to-value/56850)._
