String Operations
This function block allows users to perform various operations on strings. Users can select the desired string operation from a dropdown menu, providing a simple interface for manipulating text.
📥 Inputs
String
A single string that serves as the main input for the selected operation. The number of input sockets may vary depending on the chosen operation.
📤 Outputs
String
This output provides the result of the string operation applied to the input string(s).
🕹️ Controls
Method Selection
A dropdown menu that allows users to select which string operation they want to perform. The available operations include:
Upper: Converts all characters to uppercase.
Lower: Converts all characters to lowercase.
IsLower: Checks if all characters are lowercase.
IsUpper: Checks if all characters are uppercase.
Count: Counts how many times a specific character appears in the input string.
Merge: Combines two strings.
In: Checks if a substring exists within the main string and provides the index of its first occurrence.
Join: Joins a list of strings with a specified substring.
Split: Splits a string into a list based on a specified substring.
Replace: Replaces specified characters in a string with others.
🎨 Features
Dynamic Input/Output
The number of input and output sockets dynamically changes based on the selected string operation, making the block versatile.
User-Friendly Interface
The dropdown for selecting string operations makes it easy for users to navigate and choose their desired operation.
📝 Usage Instructions
Connect Input: Link a string source to the input socket.
Select Operation: Choose the desired string operation from the Method Selection dropdown.
Provide Additional Inputs: Depending on the selected operation, you may need to provide additional input(s).
Evaluate: Run the block to perform the string operation. The result will be available at the output socket.
📊 Evaluation
When executed, this function block applies the selected operation to the input string(s) and provides the result as an output.
💡 Tips and Tricks
🛠️ Troubleshooting
Last updated