> ## Documentation Index
> Fetch the complete documentation index at: https://docs.comfy.org/llms.txt
> Use this file to discover all available pages before exploring further.

# StringCompare - ComfyUI Built-in Node Documentation

> Complete documentation for the StringCompare node in ComfyUI. Learn its inputs, outputs, parameters and usage.

以下が翻訳結果です。

StringCompareノードは、異なる比較方法を使用して2つのテキスト文字列を比較します。一方の文字列がもう一方で始まるか、終わるか、または両方の文字列が完全に等しいかを確認できます。比較は、大文字と小文字の違いを考慮するかどうかを選択して実行できます。

## 入力

| パラメータ            | 説明                                | データ型    | 必須  | 範囲                                          |
| ---------------- | --------------------------------- | ------- | --- | ------------------------------------------- |
| `string_a`       | 比較する最初の文字列                        | STRING  | はい  | -                                           |
| `string_b`       | 比較対象となる2番目の文字列                    | STRING  | はい  | -                                           |
| `mode`           | 使用する比較方法（デフォルト: "Starts With"）    | COMBO   | はい  | "Starts With"<br />"Ends With"<br />"Equal" |
| `case_sensitive` | 比較時に大文字と小文字を区別するかどうか（デフォルト: true） | BOOLEAN | いいえ | -                                           |

## 出力

| 出力名      | 説明                                   | データ型    |
| -------- | ------------------------------------ | ------- |
| `output` | 比較条件が満たされた場合はtrue、それ以外の場合はfalseを返します | BOOLEAN |

> このドキュメントは AI によって生成されました。エラーを見つけた場合や改善のご提案がある場合は、ぜひ貢献してください！ [GitHub で編集](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/StringCompare/ja.md)

***

**Source fingerprint (SHA-256):** `4491e4acd2c1881e9c924c6ae51d764dec5f46279094d173fe551e9ee9256597`
