diff --git a/Nodes%2FString%2FSplit.md b/Nodes%2FString%2FSplit.md new file mode 100644 index 0000000..2315b82 --- /dev/null +++ b/Nodes%2FString%2FSplit.md @@ -0,0 +1,35 @@ +# String Split + +--- + +## 🔌 INPUT PORTS + +| Name | Type | Description | +|-----------------|-----------------|-----------------------------------------------------------------------------| +| `Source String` | `System.String` | The original string to split. | +| `Delimiter` | `System.String` | The delimiter used to split the string. Only the first occurrence is used. | + +--- + +## 📤 EXPORT PORTS + +| Name | Type | Description | +|---------------------|-----------------|---------------------------------------------------------------------------| +| `Before Delimiter` | `System.String` | The portion of the string before the first occurrence of the delimiter. | +| `After Delimiter` | `System.String` | The portion of the string after the first occurrence of the delimiter. | + +--- + +## 📝 DESCRIPTION + +The **String Split** node splits a string into exactly **two** parts using the **first occurrence** of a specified delimiter. +This is useful for parsing commands, filenames, key-value strings, or any text with a predictable divider. + +This node is derived from [`BaseImageNode`](../../Nodes/BaseImageNode). + +--- + +## ⚠️ KNOWN ISSUES + +- If the delimiter is not found, the full source string is returned in `Before Delimiter` and `After Delimiter` is empty. +- If the delimiter is null or empty, no split occurs.