# Subtract from Text

**URL:** <https://forum.kirupa.com/t/subtract-from-text/68783>\
**Category:** flash\
**Created:** [October 28, 2004, 8:36pm UTC](https://forum.kirupa.com/t/subtract-from-text/68783 "2004-10-28T20:36:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vortex2](https://avatars.discourse-cdn.com/v4/letter/v/ce73a5/32.png) [@Vortex2](https://forum.kirupa.com/u/Vortex2)\
**Post date:** [October 28, 2004, 8:36pm UTC](https://forum.kirupa.com/t/subtract-from-text/68783/1 "2004-10-28T20:36:32Z")

</div>

Is there a way to subtract text from a textfield?

ex:  
myTextBox.text = “This is a test”;  
myTextBox.text -= " test";  
// I’d like to return “This is a”

Is this possible?
