# Find chars in text field

**URL:** <https://forum.kirupa.com/t/find-chars-in-text-field/160670>\
**Category:** Uncategorized\
**Created:** [August 28, 2005, 9:59am UTC](https://forum.kirupa.com/t/find-chars-in-text-field/160670 "2005-08-28T09:59:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kippereye](https://avatars.discourse-cdn.com/v4/letter/k/a5b964/32.png) [@kippereye](https://forum.kirupa.com/u/kippereye)\
**Post date:** [August 28, 2005, 9:59am UTC](https://forum.kirupa.com/t/find-chars-in-text-field/160670/1 "2005-08-28T09:59:17Z")

</div>

Hi,

I want to loop through a text field and find out the \_x positions of each char/letter (ignoring the spaces and dashes “-”)

for example  
testtxt=“R o-b o t”

I`m trying to get an array with something like pos\_array=[12,27,34,40,56]  
I need to have movie clips align under each char so i need to know where the little fellas are

Regards

WL
