ComfyUI Node
String Find
文字列内の検索文字列の位置を返します (1始まり、見つからない場合は 0)
String Find
- position
◄text►
◄search►
◄start_pos1►
◄occurrence1►
CategoryString Function
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| text | STRING | — | |
| search | STRING | — | |
| start_posopt | INT | 11–99999 | 検索を開始する位置 (1始まり) |
| occurrenceopt | INT | 11–999 | 何番目の出現を検索するか |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| position | INT | — |