Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
Register
Advertisement

Joins strings together with a delimiter.

joinedString = strjoin    (delimiter, string1 [, ...])
             = string.join(delimiter, string1 [, ...]) 

Arguments[]

delimiter
string - The delimiter to insert between each string being joined.
string1, ...
string - One or more strings to join.

Returns[]

joinedString
string - A string containing all the string arguments with the delimiter between each one.

Example[]

 a = strjoin("/", "HE", "LL", "O")
 print(a)                           -- HE/LL/O

Patch changes[]

Wrath-Logo-Small Patch 3.1.0 (2009-04-14): Added string.join as an alias for strjoin (they are the same function).

Advertisement