About input text

how to control number of symbols in input text? suggest some simple way, thnx :love:

ohh… i found maxChars operation :b:
here is another question about input text… how can i clear written text by clicking on some button?


btn.onRelease=function(){
textFeild.text=""
}