How do I convert a "______" to "NULL" in a string column?

@Tropicpalm welcome to the KNIME forum.

One option ist the String Manipulation:

regexReplace($column1$, "^ {6}$" ,toNull(""))

Or you can use the Column Expression:

if ( equals(column("column1"), "      "))
{toNull("")}
else {column("column1")}

String insert NULL - KNIME Forum (76691).knwf (77.2 KB)

4 Likes