CodeUnit PHP: How to Get the Last Character of a String October 19, 2011 by Craig Lotter No Comments To get the last character of a given string in PHP is made very, very simple thanks to the plain old vanilla substring (substr) function.... Read More