Difference between revisions of "Mixly Block Category - Text"
From Microduino Wiki
(→Character) |
(→String Combination (Concatenation)) |
||
Line 10: | Line 10: | ||
=String Combination (Concatenation)= | =String Combination (Concatenation)= | ||
+ | Appends the '''second input''' to the end of the '''first input'''. Then returns the resulting String. Inputs can either be user input (direct characters) or variables that are the String data type. | ||
+ | |||
+ | Example: '''"abc"''' join '''"def"''' will return '''"acbdef"''' | ||
+ | |||
+ | Read more here: https://www.arduino.cc/en/Tutorial/StringAdditionOperator | ||
+ | |||
=String to Number Datatype= | =String to Number Datatype= | ||
=Numberic Datatype to String= | =Numberic Datatype to String= |
Revision as of 22:03, 15 February 2017
Contents
String
Input a sequence of characters. Used to assign text to a String value type or as an input parameter that accepts String objects.
Read more here: https://www.arduino.cc/en/Reference/String , https://www.arduino.cc/en/Reference/StringObject
Character
Input a character. Used to assign a character to a Char value type or as an input parameter that accepts Char objects.
Read more here: https://www.arduino.cc/en/Reference/Char
String Combination (Concatenation)
Appends the second input to the end of the first input. Then returns the resulting String. Inputs can either be user input (direct characters) or variables that are the String data type.
Example: "abc" join "def" will return "acbdef"
Read more here: https://www.arduino.cc/en/Tutorial/StringAdditionOperator
String to Number Datatype
Numberic Datatype to String
String Length
Character Access in String
String Content Comparison
- equals
- startsWith
- endsWith