top of page
- API -
splitList = reaper.AZ_GetStringSplitList(baseStr,splitStr)
- API Detail-
▼Input value
baseStr (string): The base text
splitStr(string) : the separator
▼Output value
retval(boolean): Success or failure of API execution
splitList(table)(string) : Switch by delimiter and output array
- SCRIPT -
package.cpath = package.cpath .. ";"..reaper.GetResourcePath() .."/UserPlugins/?.dll"
require("reaper_AZSTOKE_SILVER")
function Msg(param)
reaper.ShowConsoleMsg(tostring(param).."\n")
end
baseStr = "a,b,c,d,e"
splitList = reaper.AZ_GetStringSplitList(baseStr, ",")
for i, value in pairs(splitList) do
Msg(value)
end
STRING
AZ_GetStringSplitList
Supported versions:
1.0.0
onwards
Array output with specified delimiter of specified text
bottom of page