remove letter from 1 letter from a Variable (Solve)

Get help using Construct 2

Post » Wed Dec 23, 2015 12:27 am

ok guys in game play

3 instance
txtAobj = C
txtAobj = A
txtAobj = T


Variable Text =""

on touch txtAobj - system add to Var Text txtAobl.Text

run i touch C then A then T
Debug.log = Variable Text = CAT

How do i Remove the last letter added to the variable example 1 remove T then remove A then remove C

here the .capx file
drive google com/open?id=0B0MCCeWLbpwYcndpX1o2ZVhBV2s
Last edited by wizdigitech on Wed Dec 23, 2015 3:15 am, edited 1 time in total.
Image
B
36
S
11
G
2
Posts: 312
Reputation: 3,739

Post » Wed Dec 23, 2015 2:44 am

Variable1 = left(Variable1, len(Variable1)-1)
ImageImageImage
B
71
S
21
G
232
Posts: 3,695
Reputation: 129,866

Post » Wed Dec 23, 2015 3:15 am

@blackhornet
thank you
Image
B
36
S
11
G
2
Posts: 312
Reputation: 3,739


Return to How do I....?

Who is online

Users browsing this forum: jorgmaquoi, SignalOne, Yahoo [Bot] and 19 guests