# Receiveing multiple data strings from arduino HELP FAST

**URL:** <https://discourse.processing.org/t/receiveing-multiple-data-strings-from-arduino-help-fast/11794>\
**Category:** Electronics (Arduino, etc.)\
**Tags:** homework\
**Created:** [June 3, 2019, 7:48am UTC](https://discourse.processing.org/t/receiveing-multiple-data-strings-from-arduino-help-fast/11794 "2019-06-03T07:48:47Z")\
**Posts on this page:** 1\
**Showing post:** 4

<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:** [June 3, 2019, 12:32pm UTC](https://discourse.processing.org/t/receiveing-multiple-data-strings-from-arduino-help-fast/11794/4 "2019-06-03T12:32:02Z")

</div>

> [@Using two different readStringUntil "characters"](https://discourse.processing.org/t/using-two-different-readstringuntil-characters/10769):
>
> Hello. I am not sure what to call the value inside the bufferUntil, but as my title implies I need to use two different characters, rather than just the newline (\n). Is it possible that, inside the serialEvent() function, I have something like ... void serialEvent(Serial port){ x = float(port.readStringUntil("X")); y = float(port.readStringUntil("Y")) } //statements ... where the values from serial look something like: (note: for the sake of using the values for Processing, I appende…

---

_[View the full topic](https://discourse.processing.org/t/receiveing-multiple-data-strings-from-arduino-help-fast/11794)._
