Character Jumping

I am fairly new to corona and I am building an endless runner type game. Basically what I am trying to figure is when you touch the screen, if you touch is for a small amount of time the  jump height  will be small, but when you touch the screen for a longer period of time the jump height will be higher.

I looked but I did not find a function like this one the other forum post but I might have missed it. So if anybody could lead me in the right direction that would be greatly appreciated!

Dave

Never mind just found it in another post!

http://forums.coronalabs.com/topic/10820-jump-height-depending-on-how-long-you-hold-button/?hl=%2Bcharacter+%2Bjump+%2Bjumping#entry57195

Never mind just found it in another post!

http://forums.coronalabs.com/topic/10820-jump-height-depending-on-how-long-you-hold-button/?hl=%2Bcharacter+%2Bjump+%2Bjumping#entry57195