# Help to understand toString()

**URL:** https://forum.kirupa.com/t/help-to-understand-tostring/215807
**Category:** Uncategorized
**Created:** [February 10, 2007, 5:23pm UTC](https://forum.kirupa.com/t/help-to-understand-tostring/215807 "2007-02-10T17:23:45Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Terry\_elekes](https://avatars.discourse-cdn.com/v4/letter/t/8baadc/32.png) [@Terry\_elekes](https://forum.kirupa.com/u/Terry_elekes)
#### Post date: [February 10, 2007, 5:23pm UTC](https://forum.kirupa.com/t/help-to-understand-tostring/215807/1 "2007-02-10T17:23:45Z")

</div>

I am just learning about flash and was wounder waht is the matter with the code here.  
a = “house”;  
trace(a.length);  
if (a.length\>3) {  
trace(yes.toString());  
}  
I thought that in the out put box that the word yes would be show up. I understand that if i put trace(“yes”) it would but I thought that toString() would do that. Could use some help toString()
