How do I remove Last character from a label in MIT app inventor?

Hi,
I am making a calculator app in MIT app inventor and just wanted to ask how can I remove the last character from a label??

I tried using this:
image

I have no idea what to do here

Like so:

image

3 Likes

can you also set the last letter in a variabel

Yes.
Clip off the front of the variable for length - 1 using the segment block, then JOIN the last letter to the short result.

1 Like

You can use split only if there are separators

@patel

It is worth checking the date of the first post before replying to it :wink: The original question had already been handled.

2 Likes

@ABG can you say that in kids language because i am a kid

1 Like

Is this what you need?

2 Likes

Are you doing this in a calculator app?

P.S. This will change some Text to some Texan ...

global v