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
39
S
12
G
2
Posts: 323
Reputation: 3,898

Post » Wed Dec 23, 2015 2:44 am

Variable1 = left(Variable1, len(Variable1)-1)
ImageImageImage
B
71
S
22
G
248
Posts: 3,760
Reputation: 138,071

Post » Wed Dec 23, 2015 3:15 am

@blackhornet
thank you
Image
B
39
S
12
G
2
Posts: 323
Reputation: 3,898


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 18 guests