# TOUPPER() like code in actionscript

**URL:** <https://forum.kirupa.com/t/toupper-like-code-in-actionscript/203813>\
**Category:** programming\
**Created:** [October 14, 2006, 10:56am UTC](https://forum.kirupa.com/t/toupper-like-code-in-actionscript/203813 "2006-10-14T10:56:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nico](https://avatars.discourse-cdn.com/v4/letter/n/b5a626/32.png) [@nico](https://forum.kirupa.com/u/nico)\
**Post date:** [October 14, 2006, 10:56am UTC](https://forum.kirupa.com/t/toupper-like-code-in-actionscript/203813/1 "2006-10-14T10:56:07Z")

</div>

hello guys, im creating a “run” like menu in my game whre u will type in “command” and a window ala dos prompt will appear. the problem is, it will only work if the typed letters is all lower case. how can i implement the code for this whre you can type any letter combinations and it will still work. for example.“CoMManD”, or COMMAND, or commAnD. something like that.
