# Spliting an array and tagging each part

**URL:** <https://discourse.nodered.org/t/spliting-an-array-and-tagging-each-part/62057>\
**Category:** General\
**Tags:** split\
**Created:** [2 May 2022 10:04 UTC](https://discourse.nodered.org/t/spliting-an-array-and-tagging-each-part/62057 "2022-05-02T10:04:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![GRHMLGGT](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/grhmlggt/32/59269_2.png) [@GRHMLGGT](https://discourse.nodered.org/u/GRHMLGGT)\
**Post date:** [2 May 2022 10:04 UTC](https://discourse.nodered.org/t/spliting-an-array-and-tagging-each-part/62057/1 "2022-05-02T10:04:00Z")

</div>

Hi All, I am using a modbus node to grab 10 registers and I want to spilt the array and tag each register so I can further work with the data. Simply splitting it doesn't tag each part so I know what I am working with.

This seems like it would be easy but I can figure it out thus far.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/6/e/6ea9b2222f948d721da157a0c4860bce5d2a68bc.png)

---

<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:** [2 May 2022 10:09 UTC](https://discourse.nodered.org/t/spliting-an-array-and-tagging-each-part/62057/2 "2022-05-02T10:09:02Z")

</div>

`node-red-contrib-buffer-parser` will do this for you.

Check the built in examples (CTRL-I --\> examples --\> node-red-contrib-buffer-parser)

Read the [read me](https://flows.nodered.org/node/node-red-contrib-buffer-parser)

and read the built in node-help inside node-red.

Also, there are a ton of posts on the forum (search buffer parser)

---

<div class="post-metadata">

**Author:** ![GRHMLGGT](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/grhmlggt/32/59269_2.png) [@GRHMLGGT](https://discourse.nodered.org/u/GRHMLGGT)\
**Post date:** [2 May 2022 10:44 UTC](https://discourse.nodered.org/t/spliting-an-array-and-tagging-each-part/62057/3 "2022-05-02T10:44:18Z")

</div>

Thanks Steve-Mcl, wonderful node.

---

<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:** [16 May 2022 10:44 UTC](https://discourse.nodered.org/t/spliting-an-array-and-tagging-each-part/62057/4 "2022-05-16T10:44:21Z")

</div>

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