undar-lang/test/string.ul

14 lines
195 B
Plaintext
Executable File

str hello = "hello World!\n";
str msg = " damage inflicted!\n";
if (msg[1] == 'd') {
print("yes\n");
}
print(msg.length as str);
print(msg);
hello[0] = hello[0] - ' ';
print(hello);
halt;