# Object property from string

**URL:** <https://forum.kirupa.com/t/object-property-from-string/304940>\
**Category:** flash\
**Created:** [February 16, 2010, 10:05pm UTC](https://forum.kirupa.com/t/object-property-from-string/304940 "2010-02-16T22:05:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![AlexWD](https://avatars.discourse-cdn.com/v4/letter/a/838e76/32.png) [@AlexWD](https://forum.kirupa.com/u/AlexWD)\
**Post date:** [February 16, 2010, 10:05pm UTC](https://forum.kirupa.com/t/object-property-from-string/304940/1 "2010-02-16T22:05:05Z")

</div>

Is there an easy way that I can get the property of object from a string of the name of that property? For example say I have the object char, and a string “x” how can I get the value of char.x?
