Quote:
Originally Posted by fysiks
Each slot in the variable "name" is a single character. If my name is "fysiks" then "name" would look like this:
Code:
name[0] = 'f'
name[1] = 'y'
name[2] = 's'
name[3] = 'i'
name[4] = 'k'
name[5] = 's'
name[6] = 0 // End of String
|
YES
but if name is CHT CHS or JP or other language
name = "中文"
name[0] != '中'
name[1] != '中'
name[2] != '中'
this word is
three character in utf-8
two character in ascII
name [0-2] = '中'
so..how to chang next word start len to 'strlen' check