查看String - object的源代码
←
String - object
跳转至:
导航
、
搜索
因为以下原因,你没有权限编辑本页:
你刚才请求的操作只对属于该用户组的用户开放:
用户
您可以查看并复制此页面的源代码:
{| border="0" cellpadding="10" width="100%" |- |width="30%" valign="top" align="left"| <font color="orange" size="+1">'''描述'''</font> <br> <br> The String class, part of the core as of version 0019, allows you to use and manipulate strings of text in more complex ways than character arrays do. You can concatenate Strings, append to them, search for and replace substrings, and more. It takes more memory than a simple character array, but it is also more useful. For reference, character arrays are referred to as strings with a small s, and instances of the String class are referred to as Strings with a capital S. Note that constant strings, specified in "double quotes" are treated as char arrays, not instances of the String class. <font color="orange" size="+1">'''示例'''</font><br> :-[[ StringConstructors]] :-[[ StringAdditionOperator]] :-[[ StringIndexOf]] :-[[ StringAppendOperator]] :-[[ StringLengthTrim]] :-[[ StringCaseChanges]] :-[[ StringReplace]] :-[[ StringRemove]] :-[[ StringCharacters]] :-[[ StringStartsWithEndsWith]] :-[[ StringComparisonOperators]] :-[[ StringSubstring]] <br><br> <font color="orange" size="+1">'''另请参阅'''</font><br> :-[[ String - char array| string]]: character arrays :-[[ Variables| Variable Declaration]] |width="10%" valign="top" align="left"| <!-- 空白 --> |width="30%" valign="top" align="left"| <font color="orange" size="+1">'''函数'''</font><br> <br> :-[[String - String()| String()]] :-[[String.charAt()| charAt()]] :-[[String.compareTo()| compareTo()]] :-[[String.concat()| concat()]] :-[[String.c_str()| c_str()]] :-[[String.endsWith()| endsWith()]] :-[[String.equals()| equals()]] :-[[String.equalsIgnoreCase()| equalsIgnoreCase()]] :-[[String.getBytes()| getBytes()]] :-[[String.indexOf()| indexOf()]] :-[[String.lastIndexOf()| lastIndexOf()]] :-[[String.length()| length()]] :-[[String.remove()| remove()]] :-[[String.replace()| replace()]] :-[[String.reserve()| reserve()]] :-[[String.setCharAt()| setCharAt()]] :-[[String.startsWith()| startsWith()]] :-[[String.substring()| substring()]] :-[[String.toCharArray()| toCharArray()]] :-[[String.toInt()| toInt()]] :-[[String.toFloat()| toFloat()]] :-[[String.toLowerCase()| toLowerCase()]] :-[[String.toUpperCase()| toUpperCase()]] :-[[String.trim()| trim()]] <br><br> <font color="orange" size="+1">'''运算符'''</font><br> <br> :-[[String - element access| [] (element access)]] :-[[String - concatenation| + (concatenation)]] :-[[String - append| += (append)]] :-[[String - comparison| == (comparison)]] :-[[String - greater than| > (greater than)]] :-[[String - greater than or equal to| >= (greater than or equal to)]] :-[[String - less than| < (less than)]] :-[[String - less than or equal to| <= (less than or equal to)]] :-[[String - different from| != (different from)]] |width="10%" valign="top" align="left"| <!-- 空白 --> |} ---- [[Arduino语法参考 | 返回Arduino语法参考列表]] 更多建议和问题欢迎反馈至 [http://www.yfrobot.com YFRobot论坛]
返回
String - object
。
导航菜单
个人工具
登录
名字空间
页面
讨论
不转换
变种
不转换
简体
繁體
大陆简体
香港繁體
澳門繁體
大马简体
新加坡简体
台灣正體
查看
阅读
查看源代码
查看历史
操作
搜索
导航
首页
YF-论坛提问
YFRobot-直营店
YFRobot-企业店
Arduino
Arduino之入门篇
Arduino入门教程
Arduino语法参考
Arduino库
Arduino核心代码
编程平台
Mixly库
Mind+库
MakeCode扩展
传感器系列
积木式传感器系列
黑板传感器系列
蓝板传感器系列
Micro:Bit
Micro:Bit 通用基础教程
Valon智能车
Valon-I
帮助
帮助
wiki语法参考
工具箱
链入页面
相关更改
特殊页面
页面信息