“StringAppendOperator”的版本间的差异

来自YFRobotwiki
跳转至: 导航搜索
(以“Just as you can concatenate Strings with other data objects using the StringAdditionOperator, you can also use the += operator and the cconcat() method to append thi...”为内容创建页面)
 
(没有差异)

2015年7月27日 (一) 17:10的最后版本

Just as you can concatenate Strings with other data objects using the StringAdditionOperator, you can also use the += operator and the cconcat() method to append things to Strings. The += operator and the concat() method work the same way, it's just a matter of which style you prefer. The two examples below illustrate both, and result in the same String: