The String Manipulation node is used to create new or updating existing string fields. It works row-by-row; this means you can reference values in a given row but you cannot reference values in other rows. For that functionality, see the Lag Column or Column Expressions nodes.
The String Manipulation node's configuration menu allows you to use values from existing columns and flow variables. These are accessible through the Column and Flow Variables lists on the left of the menu. In the center is a list of available functions. Formulas are entered in the Expressions pane below. Finally, you may create a new field (Append Column) or update an existing field (Replace Column).
Common string manipulations include:
- Replacing a value in a string with some other character. For example, removing " characters from a string (replace)
- Stripping whitespace from a string (strip, stripEnd, stripStart)
- Extracting a sub string from a particular string value (substr)
- Combining multiple string values (either from existing fields or manually entered values) into a single string (join)
Note: Functions are case sensitive. lowerCase is good, but lowercase will return an error.
To use this workflow in KNIME, download it from the below URL and open it in KNIME:
Download WorkflowDeploy, schedule, execute, and monitor your KNIME workflows locally, in the cloud or on-premises – with our brand new NodePit Runner.
Try NodePit Runner!Do you have feedback, questions, comments about NodePit, want to support this platform, or want your own nodes or workflows listed here as well? Do you think, the search results could be improved or something is missing? Then please get in touch! Alternatively, you can send us an email to mail@nodepit.com.
Please note that this is only about NodePit. We do not provide general support for KNIME — please use the KNIME forums instead.