top of page

AZSTOKE/ALGAZODIK

GameAudio & Art

os = reaper.GetOS()

if "Win" == string.match(os,"(Win)") then 

   package.cpath = package.cpath .. ";"..reaper.GetResourcePath() .."/UserPlugins/?.dll"

else

   package.cpath = package.cpath .. ";"..reaper.GetResourcePath() .."/UserPlugins/?.dylib"

end

require("reaper_AZSTOKE_SILVER")


function Msg(param)

   reaper.ShowConsoleMsg(tostring(param).."\n")

end


baseStr = "a,b,c,d,e"


retval,splitList = AZ_SILVER.AZ_GetStringSplitList(baseStr,",")


for i, value in pairs(splitList) do

    Msg(value)

end














- SCRIPT -

retval,splitList = AZ_SILVER.AZ_GetStringSplitList(baseStr,splitStr)

- API -

ID

STRING

AZ_SILVER.AZ_GetStringSplitList

Array output with specified delimiter of specified text

- 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

bottom of page