“String.charAt()”的版本间的差异
来自YFRobotwiki
(以“111”为内容创建页面) |
|||
| 第1行: | 第1行: | ||
| − | + | :[[String - object|String]] | |
| + | |||
| + | {| border="0" cellpadding="20" width="100%" | ||
| + | |- | ||
| + | |width="100%" valign="top" align="left"| | ||
| + | <font color="olivedrab" size="+3">'''String()'''</font> | ||
| + | |||
| + | |||
| + | <font color="orange" size="+1">'''描述'''</font> | ||
| + | |||
| + | Access a particular character of the String. | ||
| + | |||
| + | |||
| + | <font color="orange" size="+1">'''语法'''</font> | ||
| + | |||
| + | string.charAt(n) | ||
| + | |||
| + | |||
| + | <font color="orange" size="+1">'''参数'''</font> | ||
| + | |||
| + | string: a variable of type String | ||
| + | n: the character to access | ||
| + | |||
| + | |||
| + | <font color="orange" size="+1">'''返回值'''</font> | ||
| + | |||
| + | the n'th character of the String | ||
| + | |||
| + | |||
| + | ---- | ||
| + | |||
| + | [[String - object|返回String]] | ||
| + | |||
| + | [[Arduino语法参考 | 返回Arduino语法参考列表]] | ||
| + | |||
| + | 更多建议和问题欢迎反馈至 [http://www.yfrobot.com YFRobot论坛] | ||
2015年7月27日 (一) 16:58的最后版本
|
String()
Access a particular character of the String.
string.charAt(n)
string: a variable of type String n: the character to access
the n'th character of the String
更多建议和问题欢迎反馈至 YFRobot论坛 |