length()
描述
取得字串长度 (以字元为单位)。(注意:没有包括最后的结尾字符 \0)
语法
string.length()
参数
string
: String 物件 (字串)
回传
字串长度 以字元为单位
范例
The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.