# Extract some chars from a variable

**URL:** <https://forum.kirupa.com/t/extract-some-chars-from-a-variable/131704>\
**Category:** Uncategorized\
**Created:** [December 18, 2004, 6:56pm UTC](https://forum.kirupa.com/t/extract-some-chars-from-a-variable/131704 "2004-12-18T18:56:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![zero\_one1](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/zero_one1/32/948_2.png) [@zero\_one1](https://forum.kirupa.com/u/zero_one1)\
**Post date:** [December 18, 2004, 6:56pm UTC](https://forum.kirupa.com/t/extract-some-chars-from-a-variable/131704/1 "2004-12-18T18:56:18Z")

</div>

I have a variable with the value “\_level0.store.1” … is there any function in flash with which i can just take the 15th character and remove everything that is before the “1” --\> basically i’d like to use “1” to read that position from an array… therefore i want something that:

from:  
\_root.nodeFrom = this --\> returns “\_level0.store.1”

I would get:  
positioninArray = 1  
thanks
