# Convert string in array to number

**URL:** <https://forum.alumio.com/t/convert-string-in-array-to-number/2059>\
**Category:** Mappers\
**Created:** [June 11, 2025, 7:08am UTC](https://forum.alumio.com/t/convert-string-in-array-to-number/2059 "2025-06-11T07:08:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vosy](https://forum.alumio.com/letter_avatar_proxy/v4/letter/v/ecd19e/32.png) [@vosy](https://forum.alumio.com/u/vosy)\
**Post date:** [June 11, 2025, 7:08am UTC](https://forum.alumio.com/t/convert-string-in-array-to-number/2059/1 "2025-06-11T07:08:31Z")

</div>

```auto
[
  "packing_unit_2",
  "packing_unit_3"
]

```

how can i get new array of last numbers of this array?  
[2,3]

---

<div class="post-metadata">

**Author:** ![r.candrian](https://forum.alumio.com/user_avatar/forum.alumio.com/r.candrian/32/235_2.png) [@r.candrian](https://forum.alumio.com/u/r.candrian)\
**Post date:** [June 11, 2025, 7:26am UTC](https://forum.alumio.com/t/convert-string-in-array-to-number/2059/2 "2025-06-11T07:26:45Z")

</div>

Hi @vosy,

You can achieve this by using a mapper.

 ![image](https://alumio-forum.s3.dualstack.eu-central-1.amazonaws.com/uploads/original/2X/f/f53ce5da164340d437f3638a15b2e3d0046adf71.png)
