The index of the first character is 0; the index of the last is length()-1 . For example, the following code gets the character at index 9 in a string:.
確定! 回上一頁