top of page

import sys

sys.path.append(RPR_GetResourcePath() + r"\UserPlugins")

from AZSTOKE_SILVER_python import *


def Msg(parm):

    RPR_ShowConsoleMsg(str(parm) + "\n")


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

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


for i, value in enumerate(splitList, 1):

    Msg(value)

- SCRIPT -

retval,splitList = AZ_GetStringSplitList(baseStr,splitStr)

- API -

対応バージョン:

1.0.0

以降

STRING

AZ_GetStringSplitList

Array output with specified delimiter of specified text

- API Detail-

▼Input value

  • baseStr (string): Base string

  • splitStr(string) : Delimiter e.g. "," "_"

▼Output value

  • retval(boolean): Success or failure of API execution

  • splitList(table)(string) : Split strings into an array

bottom of page