How to Get the Last Character of a String in PHP | CodeTrail