# Splitting a string that contains a float value

**URL:** <https://discourse.processing.org/t/splitting-a-string-that-contains-a-float-value/34065>\
**Category:** Electronics (Arduino, etc.)\
**Created:** [December 11, 2021, 10:26pm UTC](https://discourse.processing.org/t/splitting-a-string-that-contains-a-float-value/34065 "2021-12-11T22:26:38Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![GoToLoop](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/gotoloop/32/86_2.png) [@GoToLoop](https://discourse.processing.org/u/GoToLoop)\
**Post date:** [December 11, 2021, 10:37pm UTC](https://discourse.processing.org/t/splitting-a-string-that-contains-a-float-value/34065/2 "2021-12-11T22:37:29Z")

</div>

> [@Using two different readStringUntil "characters"](https://discourse.processing.org/t/using-two-different-readstringuntil-characters/10769/6):
>
> The solution I gave on that link expects the Arduino C code to send the multi-data as if they were a row of tab-separated values (TSV): face_with_monocle That is, each value is followed by a \t character; except last 1, which is followed by an \n instead: nerd_face Serial.print(temperature); Serial.write('\t'); Serial.print(masse); Serial.write('\t'); Serial.print(humidite); Serial.write('\t'); Serial.print(comptage); Serial.write('\t'); Serial.println(son); // implies '\n' At the Pro…

---

_[View the full topic](https://discourse.processing.org/t/splitting-a-string-that-contains-a-float-value/34065)._
