String getLastCharecter(String target) { var result = target.substring(target.length - 1); return result.toString(); }