Can I write a rule to drop the last character of a string?

Follow