ComfyUI Node

Name Crop

Crops a string to a specified number of words.

By loz2754·Created 7 months ago·Updated about a month ago· 4
Name Crop
    • cropped_name
    nameName
    croptrue
    words1
    CategoryAUN Nodes/Text

    Inputs (3)

    NameTypeDefaultDescription
    nameSTRINGNameThe input string to crop.
    cropBOOLEANtrueEnable or disable cropping.
    wordsINT11–10The number of words to keep from the start of the string.

    Outputs (1)

    NameTypeDescription
    cropped_nameSTRING