Deleting last character in text block

I have also created a topic about this problem, you can look this-

You can try this also

First place these blocks-

Next place these blocks-

Last place these blocks-

You can run the code by calling this procedure-

This has to work. I have made an app with this procedure and its working properly :grinning: