Delete last character in Heather_Text_One how do I do it please?

TornadoMan

  • Posts: 205
I Jason am talkin' about for coding or block (tell both if you know how please) using for in game itself delete last character in Heather_Text_One such as if Heather_Text_One is equal to Hello Jason 127 how do I make it to where whenever I press Z button the last character of text in Heather_Text_One is deleted please?



So for example
Hello Jason 127
beomes
Hello Jason 12
if I press Z button.



Thank you all in advance.
My name is Jason & (and) I am from N. USA & I live in N. USA & I was born in N. USA
http://community.stencyl.com/index.php/topic,31002.new.html#new < awesomest Stencyl suggestions ever.

TornadoMan

  • Posts: 205
^ Basically with Stencyl Programming Language how do I delete last character of text as mentioned above please?

Also with Stencyl blocks (instead of programming) how do I delete last character of text as mentioned above please?
My name is Jason & (and) I am from N. USA & I live in N. USA & I was born in N. USA
http://community.stencyl.com/index.php/topic,31002.new.html#new < awesomest Stencyl suggestions ever.

Cobra Blade

  • Posts: 73
Basically, you want an attribute for Jason 127 to be stored in, for this example [TextInput]

Then you'll create an Input 'Any Key' Event and do something like this.



TornadoMan

  • Posts: 205
Thank you so extremely super very much Cobra Blade :) : )
My name is Jason & (and) I am from N. USA & I live in N. USA & I was born in N. USA
http://community.stencyl.com/index.php/topic,31002.new.html#new < awesomest Stencyl suggestions ever.