Key up event

Is there an equivalent in corona.

When the user is in a textfield I need to capitalise the text and remove any spaces as they are typing.

I see in the docs there is upper & sub

On key up(in the keyboard)

do

string to upper
gsub " " with “”

cheers
SteveW

[import]uid: 4585 topic_id: 11838 reply_id: 311838[/import]