string.concat
This function concatenates a set of strings.
Syntax
string.concat(str1, str2)
Arguments
Argument |
Type |
Description |
---|---|---|
str1, str2 |
string |
Strings to be concatenated. |
Returns
Type |
Description |
---|---|
string |
A concatenated string. |
Examples
The function string.concat("Hello",' ', "World")
returns Hello World
.