code: public static char getLastChar (@Nullable final CharSequence aCS)
    {
      final int nLength = getLength (aCS);
      return nLength > 0 ? aCS.charAt (nLength - 1) : CGlobal.ILLEGAL_CHAR;
    }
docs: Get the last character of the passed character sequence
  
  @param aCS
  The source character sequence
  @return {@link CGlobal#ILLEGAL_CHAR} if the passed sequence was empty