Arduino内置教程-字符串
字符串
- Character Analysis:使用operators来识别对应的特征类型。
- String Addition Operator:用不同方法把字符串加到一起。
- String Append Operator:用+=运算符和concat()方法来添加东西到字符串里。
- String Case Changes:改变字符串的状态。
- String Characters:在字符串里获得或设置一个指定的字符的值
- String Comparison Operators:按字母排列顺序地比较字符串
- String Constructors:初始化字符串对象
- String Index Of:寻找在字符串里字符的第一个或最后一个的状态
- String Length & String Length Trim:获得和修剪字符串的长度
- String Replace:替换字符串里的个别字符
- String Start With Ends With:检查一个给定的字符或子串(substrings)的开始或结尾
- StringSubstring - 在给定的字符串里寻找"phrases"
- StringToInt - 允许你把字符串转换成整数数字
Character Analysis: Use the operators to recognise the type of character we are dealing with.
String Addition Operator: Add strings together in a variety of ways.
String Append Operator: Use the += operator and the concat() method to append things to Strings.
String Case Changes: Change the case of a string.
String Characters: Get/set the value of a specific character in a string.
String Comparison Operators: Compare strings alphabetically.
String Constructors: Initialize string objects.
String Index Of: Look for the first/last instance of a character in a string.
String Length & String Length Trim: Get and trim the length of a string.
String Replace: Replace individual characters in a string.
String Start With Ends With: Check which characters/substrings a given string starts or ends with.
String Substring: Look for "phrases" within a given string.
String To Int: Allows you to convert a String to an integer number.