ComfyUI Node

String Find

文字列内の検索文字列の位置を返します (1始まり、見つからない場合は 0)

By TakkunRed·Created 4 months ago·Updated 3 months ago· 0
String Find
    • position
    text
    search
    start_pos1
    occurrence1
    CategoryString Function

    Inputs (4)

    NameTypeDefaultDescription
    textSTRING
    searchSTRING
    start_posoptINT11–99999検索を開始する位置 (1始まり)
    occurrenceoptINT11–999何番目の出現を検索するか

    Outputs (1)

    NameTypeDescription
    positionINT