To walk over all the characters of a string, we can use an ordinary for loop, with a loop counter ( i ) to go through string index from 0 to str.length :
確定! 回上一頁