How to remove the last alphabet from Text


#1

Hi,

I have this text E123456789T.
I want to remove the alphabet T from the text.
Result should be E123456789
Please help.

Thanks
Farha


#2

Hi Farha,
To remove the last character of a string you can use it’s Substring method:
yourString.Substring(0, yourString.Length -1)

Hope it helps.


#3

Hi,
RemoveText.xaml (7.2 KB)


#4

Thank u :slightly_smiling_face: