Triple Join Text (Legacy):
The Sage_TripleJoinText node is designed to concatenate three separate strings into a single string, using a specified separator to join them. This node is particularly useful when you need to combine multiple text elements into a cohesive sentence or phrase, ensuring that the elements are clearly separated by a chosen delimiter. Despite being marked as deprecated, it provides a straightforward method for text concatenation, which can be beneficial in scenarios where you need to format text outputs consistently. The node also offers the flexibility to append the separator at the end of the resulting string, allowing for further customization of the output format.
Triple Join Text (Legacy) Input Parameters:
separator
The separator parameter defines the string that will be used to join the three input strings. It acts as a delimiter between each of the strings, ensuring they are clearly separated in the final output. The default value is ", ", which means that by default, the strings will be separated by a comma followed by a space. This parameter allows you to customize the joining character(s) to suit your specific formatting needs.
add_separator_to_end
The add_separator_to_end parameter is a boolean option that determines whether the separator should be added at the end of the joined string. By default, this is set to False, meaning the separator will not be appended to the end. If set to True, the separator will be added after the last string, which can be useful if the resulting string is part of a larger list or sequence where consistent separation is required.
str1
The str1 parameter is the first string input that will be part of the concatenated result. This parameter accepts multiline text, allowing for flexibility in the content that can be joined. It is the first element in the sequence of strings to be joined.
str2
The str2 parameter is the second string input in the concatenation process. Like str1, it supports multiline text, providing the ability to include complex or lengthy text elements in the joined output. It follows str1 in the sequence.
str3
The str3 parameter is the third and final string input for the concatenation. It also supports multiline text, ensuring that you can include a wide range of text content. This string is the last in the sequence before any optional separator is added at the end.
Triple Join Text (Legacy) Output Parameters:
str
The str output parameter is the resulting string after the three input strings have been concatenated with the specified separator. This output provides a single, cohesive text element that combines all three inputs, formatted according to the specified separator and any additional settings such as appending the separator at the end. The output is useful for generating formatted text outputs in various applications.
Triple Join Text (Legacy) Usage Tips:
- Use the
separatorparameter to customize how the strings are joined, which can help in creating lists or formatted text outputs that require specific delimiters. - Consider setting
add_separator_to_endtoTrueif the resulting string will be part of a larger sequence, ensuring consistent separation between elements.
Triple Join Text (Legacy) Common Errors and Solutions:
Missing Input Strings
- Explanation: If any of the input strings (
str1,str2, orstr3) are not provided, the node will still execute but may produce unexpected results with empty sections. - Solution: Ensure that all input strings are provided, even if they are empty strings, to maintain the expected structure of the output.
Invalid Separator
- Explanation: Using an invalid or unintended separator can lead to formatting issues in the output string.
- Solution: Double-check the
separatorparameter to ensure it matches the intended delimiter for your specific use case.
