# Extracting one, constantly changing number, from string of numbers separated by commas

**URL:** <https://forums.unrealengine.com/t/extracting-one-constantly-changing-number-from-string-of-numbers-separated-by-commas/379699>\
**Category:** Blueprint\
**Tags:** string, unreal-engine, UE4, Blueprint, question\
**Created:** [December 19, 2016, 3:27pm UTC](https://forums.unrealengine.com/t/extracting-one-constantly-changing-number-from-string-of-numbers-separated-by-commas/379699 "2016-12-19T15:27:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![fvrcifer](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@fvrcifer](https://forums.unrealengine.com/u/fvrcifer)\
**Post date:** [December 19, 2016, 3:27pm UTC](https://forums.unrealengine.com/t/extracting-one-constantly-changing-number-from-string-of-numbers-separated-by-commas/379699/1 "2016-12-19T15:27:54Z")

</div>

![119271-2016-12-19.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/4/e/84e1a8ca9f0b0c3546d4420f3e894b387d6bac64.png)

Hello, so yeah, i’ve got this problem : I want to extract only one number from a string. As you can see on picture below i have values (which are constantly changing - this is output of one arduino sensor separated to five channels). Any ideas? I have 0 experinece in C++.

---

<div class="post-metadata">

**Author:** ![fvrcifer](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@fvrcifer](https://forums.unrealengine.com/u/fvrcifer)\
**Post date:** [December 19, 2016, 8:39pm UTC](https://forums.unrealengine.com/t/extracting-one-constantly-changing-number-from-string-of-numbers-separated-by-commas/379699/2 "2016-12-19T20:39:09Z")

</div>

ok, i solved problem via “parse into array”.

---

<div class="post-metadata">

**Author:** ![TasKall](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TasKall](https://forums.unrealengine.com/u/TasKall)\
**Post date:** [February 21, 2024, 8:48am UTC](https://forums.unrealengine.com/t/extracting-one-constantly-changing-number-from-string-of-numbers-separated-by-commas/379699/3 "2024-02-21T08:48:53Z")

</div>

Hi, i have similar project:

I have a string that contains 4 different numbers separated by “,”. These values (and the string as well) are not constant and are updated every second. I would like each of these 4 number to be assigned to different variable. How can i do this?  
I tried to use the “parse into array” node in order to separate each value, but i do not know how to continue and assign the first number to Variable 1, second number to variable 2, third number to variable 3 and fourth number to variable 4 and keep doing this as the string is updated (every second for example)

Can you help?
