# Getting the length of a dynamic text box

**URL:** <https://forum.kirupa.com/t/getting-the-length-of-a-dynamic-text-box/158489>\
**Category:** Uncategorized\
**Created:** [August 10, 2005, 2:09am UTC](https://forum.kirupa.com/t/getting-the-length-of-a-dynamic-text-box/158489 "2005-08-10T02:09:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![NovaCaine](https://avatars.discourse-cdn.com/v4/letter/n/7ea924/32.png) [@NovaCaine](https://forum.kirupa.com/u/NovaCaine)\
**Post date:** [August 10, 2005, 2:09am UTC](https://forum.kirupa.com/t/getting-the-length-of-a-dynamic-text-box/158489/1 "2005-08-10T02:09:14Z")

</div>

Can anyone help me with this problem

i’m wanting to get the lenght of the string in a dynamic textbox, but when i use the .length() method it returns undefined.

what am i doing wrong???

btw the actionscript i am using is simply

```auto

dynamictxtboxVar.length()

```
