setCharAt()
描述
把字串中指定位置的字元设定成另一个字元。这不会影响字串的长度。
语法
string.setCharAt(index, c)
参数
string
: String 物件 (字串)
index
: 指定的字元位置
c
: 另一个字元
回传
无回传值
See also
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.