I have a problem. I am trying to figure out a way to remove the last & character from a string. There are other & characters in the string that I don't want to be removed, but the last one at the very end of the string I do. What is the perl code to do this?
I was thinking that $str =~ s//&$//; would work. Any help?
I was thinking that $str =~ s//&$//; would work. Any help?

