Strings
Strings represent textual values, as a sequence of characters. String values are always written between double quotes. An example is "hello world"
. The default value of strings (string
type) is the empty string ""
.
Strings can be composed using the +
operator. The expression "hello" + " " + "world"
evaluates to "hello world"
. For advanced text formatting, see the text formatting tutorial.