# Split incoming message

**URL:** https://discourse.nodered.org/t/split-incoming-message/49014
**Category:** General
**Created:** [28 July 2021 12:03 UTC](https://discourse.nodered.org/t/split-incoming-message/49014 "2021-07-28T12:03:47Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![jenssen](https://avatars.discourse-cdn.com/v4/letter/j/f0a364/32.png) [@jenssen](https://discourse.nodered.org/u/jenssen)
#### Post date: [28 July 2021 12:03 UTC](https://discourse.nodered.org/t/split-incoming-message/49014/1 "2021-07-28T12:03:47Z")

</div>

Hello,

I have a message with this structure, I receive this message every 10 seconds with new values (values are random, everytime I receive four values in the same order). I can not change the way the information is delivered from the source.

222.10;33.25;4.78;50.23

It contains four values, separated with a semi colon. I want to separate the message into four messages, and send each value to and IDX in Domoticz. What is the easiest way to do this?

When I use the split node, I split the message with the split function (Split using: ) into four messages, but I do not have any message property to filter/sort these four messages. Is using a function the only option?

Thanks

---

<div class="post-metadata">

### Author: ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)
#### Post date: [28 July 2021 12:19 UTC](https://discourse.nodered.org/t/split-incoming-message/49014/2 "2021-07-28T12:19:15Z")

</div>

maybe the csv node would suit better as you can use a ; as the separator and assign them property names using the template. (but they would still then be in one message)

---

<div class="post-metadata">

### Author: ![jenssen](https://avatars.discourse-cdn.com/v4/letter/j/f0a364/32.png) [@jenssen](https://discourse.nodered.org/u/jenssen)
#### Post date: [28 July 2021 12:24 UTC](https://discourse.nodered.org/t/split-incoming-message/49014/3 "2021-07-28T12:24:10Z")

</div>

Thanks!, did not use that one before

---

<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: [11 August 2021 12:24 UTC](https://discourse.nodered.org/t/split-incoming-message/49014/4 "2021-08-11T12:24:20Z")

</div>

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