Strings Nodes
String nodes in Databraid provide functionality for working with textual data and performing various string manipulation operations. These nodes allow you to process, transform, and analyze strings within your braids.
String Manipulation Nodes
-
Compare: Compares two strings and returns a boolean value indicating whether they are equal or not. It is useful for making decisions based on string comparisons.
-
Concatenate: Combines two or more strings together into a single string. It allows you to join strings end-to-end, creating a new string that contains the content of the input strings.
-
Contains: Checks whether a string contains a specific substring. It returns a boolean value indicating the presence or absence of the substring within the main string.
-
Split: Divides a string into an array of substrings based on a specified delimiter. It allows you to break a string into smaller parts based on a separating character or pattern.
-
ToFixed: Converts a number to a string with a fixed number of decimal places. It is useful for formatting numeric values as strings with a specific precision.
-
ToString: Converts a value of any type to its string representation. It allows you to transform numbers, booleans, or other data types into their corresponding string format.
-
ToTable: Converts a string to a table format, where each line of the string represents a row in the table. It is useful for parsing and visualizing tabular data stored as a string.
-
ToUpperCase: Converts a string to uppercase, transforming all lowercase characters to their uppercase equivalents. It is useful for normalizing string case or applying consistent formatting.
These string nodes provide a range of operations to manipulate, transform, and analyze textual data within your braids. They allow you to perform tasks such as string comparison, concatenation, searching, splitting, formatting, and case conversion.
By combining string nodes with other nodes in Databraid, you can create braids that process and work with textual information effectively. Whether you need to clean and preprocess text data, extract specific parts of a string, or format strings for display or storage, the string nodes in Databraid provide the necessary tools to accomplish these tasks.
Remember to refer to the individual node documentation for more details on their specific inputs, outputs, and configuration options, as well as examples and best practices for using them effectively in your braids.