# Array elements in new line

**URL:** <https://discourse.nodered.org/t/array-elements-in-new-line/28072>\
**Category:** General\
**Created:** [9 June 2020 17:24 UTC](https://discourse.nodered.org/t/array-elements-in-new-line/28072 "2020-06-09T17:24:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tanishagoyal1](https://avatars.discourse-cdn.com/v4/letter/t/6f9a4e/32.png) [@tanishagoyal1](https://discourse.nodered.org/u/tanishagoyal1)\
**Post date:** [9 June 2020 17:24 UTC](https://discourse.nodered.org/t/array-elements-in-new-line/28072/1 "2020-06-09T17:24:55Z")

</div>

i want to print elements of array of msg.payload.output.text in new line

---

<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:** [9 June 2020 17:48 UTC](https://discourse.nodered.org/t/array-elements-in-new-line/28072/2 "2020-06-09T17:48:07Z")

</div>

Hi. Your question is very vague.

"Print" - to a printer?

Is `msg.payload.output.text` a string or array?

What does "in new line" mean?

You will have to provide more information and perhaps screenshots of your debug output and the expected format if you really want any help.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [8 August 2020 17:48 UTC](https://discourse.nodered.org/t/array-elements-in-new-line/28072/3 "2020-08-08T17:48:09Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
