String.concat()

出自YFRobotwiki
跳轉到: 導覽搜尋
String

concat()


描述

Combines, or concatenates two strings into one new String. The second string is appended to the first, and the result is placed in a new String


語法

string.concat(string, string2)


參數

string, string2: variables of type String


返回值

new String that is the combination of the original two Strings


示例

- StringAppendOperator



返回String

返回Arduino語法參考列表

更多建議和問題歡迎反饋至 YFRobot論壇