Delete last character of string

Hi,

I probably did not fully understand your issue but would this solution somehow help?