Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Our educational partners
Free education resources to use in the classroom
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
i create a program like calculator with C2 but i need to subtract the last number to first if Del button clicked.
in my source i use system every tick to show the textbox value...
please help me,
left(string, len(string) - 1)
left() takes the first X characters of your string
len() counts the length of the string
So left(string, len(string) - 1) takes all characters from the first to 1 before the last
Develop games in your browser. Powerful, performant & highly capable.
Thank you for reply, but i'm new in C2, How ca i use that?
my global variable is : callnumber and it is the textbox value
can i use the : "left(callnumber , len(callnumber ) - 1) " in textbox set text?
OK, I use like that write here and it work, thank you