# Parse Variable Name

**URL:** <https://forum.kirupa.com/t/parse-variable-name/229735>\
**Category:** flash\
**Created:** [June 19, 2007, 8:19pm UTC](https://forum.kirupa.com/t/parse-variable-name/229735 "2007-06-19T20:19:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bigbstanley](https://avatars.discourse-cdn.com/v4/letter/b/977dab/32.png) [@bigbstanley](https://forum.kirupa.com/u/bigbstanley)\
**Post date:** [June 19, 2007, 8:19pm UTC](https://forum.kirupa.com/t/parse-variable-name/229735/1 "2007-06-19T20:19:57Z")

</div>

If I have variables coming into to flash like this: “filename.html” Is there a way to parse it into just “filename”. filename can be different sizes in letter length, I just basically need to drop the last 5 characters (.html)
