# Get strings to new array

**URL:** <https://discourse.nodered.org/t/get-strings-to-new-array/45213>\
**Category:** General\
**Created:** [5 May 2021 12:21 UTC](https://discourse.nodered.org/t/get-strings-to-new-array/45213 "2021-05-05T12:21:02Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [5 May 2021 12:38 UTC](https://discourse.nodered.org/t/get-strings-to-new-array/45213/3 "2021-05-05T12:38:09Z")

</div>

> [@MAHRULEZ](#):
>
> return [msg,abgelaufen];

That should probably be  
`return msg`

If posting code in the future please use the technique described in this post so the forum does not mess with text. [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/get-strings-to-new-array/45213)._
