ComfyUI Node

String Replace

文字列を検索して置換します

By TakkunRed·Created 4 months ago·Updated 3 months ago· 0
String Replace
    • result
    • replace_count
    text
    old
    new
    count-1
    case_sensitivetrue
    CategoryString Function

    Inputs (5)

    NameTypeDefaultDescription
    textSTRING
    oldSTRING
    newSTRING
    countoptINT-1-1–99999置換する最大回数。-1 は全て置換
    case_sensitiveoptBOOLEANtrueFalse にすると大文字小文字を無視して置換

    Outputs (2)

    NameTypeDescription
    resultSTRING
    replace_countINT