What I'm seeking to do is display the SKU of a product on the frontend of my Magento cart, which is working accurately with this code:
<?php echo $this->htmlEscape($_product->getSku()) ?>
However, what I need to do in addition to this is truncate the last character returned when the SKU is loaded on the front end. How can I achieve this with PHP, what code can I use to accomplish this, and how would I insert it into this string to truncate the last character from the output?
Thanks for any help in advance! :]