Update README

This commit is contained in:
BRADSEC
2026-01-31 10:12:52 +10:00
parent 0146015f1b
commit e890607648
3 changed files with 6 additions and 0 deletions
+6
View File
@@ -73,6 +73,8 @@ Conditionally adds strings to the input text only if they're not already present
## String Contains Any
Checks if the input string contains any of the specified substrings. Returns a boolean result and the first matched substring. Useful for conditional workflows, such as loading specific LoRAs based on prompt keywords (e.g., load anime LoRA if prompt contains "anime", "manga", or "cel-shaded").
![stringcontainsany](images/stringcontainsany.png)
### Inputs
- **`input_string`**: The string or text to search within (connection input)
- **`substrings`**: List of substrings to search for (one per line)
@@ -82,6 +84,10 @@ Checks if the input string contains any of the specified substrings. Returns a b
- **`contains_any`**: Boolean indicating whether any substring was found
- **`matched_string`**: The first substring that was found (empty string if none matched)
# Example Usage
![exampleusage](images/examplecontainsany.png)
## String Preview
Simply displays a string output. Can be used to view the results/changes to the input_string by the `String Strip` or `String Replace`.
Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB