# Splitting a string

**URL:** <https://forum.kirupa.com/t/splitting-a-string/239495>\
**Category:** Uncategorized\
**Created:** [September 22, 2007, 1:44pm UTC](https://forum.kirupa.com/t/splitting-a-string/239495 "2007-09-22T13:44:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dsdsgfd](https://avatars.discourse-cdn.com/v4/letter/d/4bbf92/32.png) [@dsdsgfd](https://forum.kirupa.com/u/dsdsgfd)\
**Post date:** [September 22, 2007, 1:44pm UTC](https://forum.kirupa.com/t/splitting-a-string/239495/1 "2007-09-22T13:44:23Z")

</div>

Hi, can I split the string “0102030405…” (of unknown length) into the array [01, 02, 03, 04, 05, …]? The string could also be “0100000504…” etc.
