Hi,
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,
best regards.
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