The OpenD Programming Language

text

Concatenated string results

string
text
(
string separator = ""
Args...
)
(
auto scope ref const Args args
)
if (
Args.length > 0
)

Examples

const i = 100;
assert(text("str ", true, " ", i, " ", 124.1) == "str true 100 124.1", text("str ", true, " ", 100, " ", 124.1));
assert(text!" "("str", true, 100, 124.1, null) == "str true 100 124.1 null");
assert(text(null) == "null", text(null));

Meta