top of page
- API -

joinedString = reaper.AZ_JoinArray(stringArray, separator)

- API Detail-

▼Input values

  • stringArray(StringArray): strings to join

  • separator(string): delimiter (optional, default: "")

▼Output values

  • joinedString(string): a single string containing the delimiter


if stringArray contains non-string values, they are ignored

Example: AZ_JoinArray(["A", 0, "B"], "C") → ACB

- SCRIPT -

dofile(reaper.AZ_GetLuaInitPath())

require("reaper_AZSTOKE_SILVER")


stringArray =  { "Apple", "Banana", "Cherry" }


string = reaper.AZ_JoinArray(stringArray, "_")


Msg(string)


STRING

AZ_JoinArray

Supported versions:

1.4.0

onwards

Join a string array into one string using a delimiter

bottom of page