delete a - if it is the last part of a string

D

deb

How can I delete a - if it is the last part of a string.

I have other - in the string but I only want to delete it if it is the last
character.

Thanks in advance!!
 
Top