Skip to content

.: (concat)

Operator

String concatenation. Emits Luau ... Never use + or Lua .. in CL++.

a .: b .: c
NameTypeDescription
astring-ishLeft operand.
bstring-ishRight operand.

A string.

a .. b

Associates left-to-right: a .: b .: c(a .. b) .. c. string_concat joins many arguments in one (..) group.

+ only adds numbers.

return player.Name .: "_LeaderstatsJanitor";
return player.Name .: "_" .: "LeaderstatsJanitor";

Emits:

return player.Name .. "_LeaderstatsJanitor"
return (player.Name .. "_") .. "LeaderstatsJanitor"

string_concat · string · post · to_string