<?php $string = 'This is a string'; substr($string, 0, -1);
You have javascript disabled. You will not be able to edit any code.