2.3 Strings - HimxhMC/HimDSL GitHub Wiki

字符串 String

定义 define

string a = "Hello,world!";

操作 operation

1 直接操作 directly
var str = "Hello";
str[0] = 'h'; // ->"hello"
str[4] = 33; // ->"hell!"
2 通过字符串函数操作 by functions
这将会在函数章节提及。
This will be mentioned in the function section.