赋值 | String str1 = 'value' 或者 var str1 = "value" |
字符串合并 | var str = "a" + "b" |
转为字符串 | var str = 1.toString() |
字符串比较 | int result = "a".compareTo("b") |
字符串长度 | str.length |
字符串截取 | String substring(int start, [int? end]) |
字符串转数组 | List |
数组转为字符串 | a.join(',') |