Strings
Weld is the canonical string type. String is an alias for Weld; both
names resolve to the same internal type.
Example:
Weld Name = "Sydrogen";
String Alias = Name;
String literals use double quotes:
"Hello"
Strings can be passed to Print:
Print("Hello, World!");
String Escapes
String literals support:
| Sequence | Meaning |
|---|---|
\n | Newline |
\t | Tab |
\r | Carriage return |
\0 | Null byte |
\\ | Backslash |
\" | Double quote |
Example:
Weld Line = "Hello\nWorld";
See String Interpolation for embedding values into strings.