top of page

GameAudio & Art

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)

- SIMPLE SCRIPT -

retval,splitList = AZ_GetStringSplitList(baseStr,splitStr)

- API -

STRING

AZ_GetStringSplitList

指定テキストの指定区切り文字で配列出力

- API Detail -

▼入力値

  • baseStr (string):ベース文字列

  • splitStr(string) :  区切り文字 例:”,” "_"

▼出力値

  • retval(boolean):API実行の成否

  • splitList(table)(string) : 分割文字列を配列出力

bottom of page