First count number of characters in a given string by using str.length function. Since the indexing starts from 0 so use str.charAt(str.length-1) ...
確定! 回上一頁