I'm trying to remove the trailing slash from this link:
href="<?php echo Mage::helper('supermenu')->getLinkbyItem($item); ?>"
In the module there is a field that one uses to enter the link used in the above. I enter the link such as
christmas.html but the link gets a trailing slash like this:
I found this Remove Trailing Slash From String PHP
rtrimbut don't know how to use it in this context.