{"title":"String Manipulation","nodeType":"Manipulator","id":"*eOn8ibZnxIkY7XhT","factoryName":"org.knime.base.node.preproc.stringmanipulation.StringManipulationNodeFactory","factoryId":"org.knime.base.node.preproc.stringmanipulation.StringManipulationNodeFactory","path":["Manipulation","Column","Convert & Replace"],"owner":"knime","ownerAccountId":"account:team:b5f0848f-496d-4e6a-b869-fa3532248db7","description":"<p>This node is superseded by the &#34;Expression&#34; node. We advise to use the &#34;Expression&#34; node instead of this node.</p>\n            \t        \n            <p>Manipulates strings like search and replace, capitalize or remove leading and trailing white spaces.</p>\n            \t        \n            <b>Examples:</b>\n            \t        \n            <p>To remove leading and trailing blanks from a column with name <i>c0</i> you would use the expression:\n <br />\n <i>strip($c0$)</i></p>\n                        \n            <p>If you have your customer names in column <i>names</i> with titles Mr and Mister and you want to normalize the data so that only Mr is used you could use the expression:\n <br />\n <i>replace($names$, &#34;Mister&#34;, &#34;Mr&#34;)</i>\n <br />\n or you could combine it to\n <br />\n <i>replace(replace($names$, &#34;Mister&#34;, &#34;Mr&#34;), &#34;Miss&#34;, &#34;Ms&#34;)</i></p>\n                        \n            <p>Or if you want to have the number of characters of the strings in a column with name <i>text</i> :\n <br />\n <i>length($text$)</i></p>\n                        \n            <p>Note that strings which are part of the expression and are not from the input data (or the result of another wrapped function call) need to be enclosed in double quotes (&#39;&#34;&#39;). Additionally, if the string contains a quote character, it must be escaped using a backslash character (&#39;\\&#34;&#39;). Finally, other special characters such as single quotes and backslashes need to be escaped using a backslash. For instance, a single backslash in a string is written as two consecutive backslash characters; the first one acts as the escape character for the second.</p>\n            \t\t\n        \n        ","shortDescription":"Manipulates strings like search and replace,\n     capitalize or remove leading and trailing white spaces.","keywords":["Capitalize","Concatenate","Strip","Formula","Replace"],"deprecated":false,"streamable":true,"tags":["Manipulation","Column","Convert & Replace","Streamable"],"icon":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9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0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6MGIzNmFjOTctNWViYS00MGU3LTkxODktYmJlOGQ3ZDBmMjRlIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+Mg1IMQAAAIdJREFUeNrMk+8KgCAMxJ0vEdTL6pNfTvpzrM2gPtRBKLv5a2MqANIbyT8BIoIoh70WlwugJXRPt5Ro/S0M2U3Ql2hVFfIKxdHPEiBZ0/FAFT0CJAvIupunxdJZNWjhpDUALD2YGtwKIt3AurI3qkELNfqLXTG6od4UvF4RlH94evb7x7QKMACq4pshQaRWkAAAAABJRU5ErkJggg==","views":[],"inPorts":[{"objectClass":"org.knime.core.node.BufferedDataTable","color":"000000","dataType":"Table","optional":false,"name":"Input table","description":"Input table."}],"outPorts":[{"objectClass":"org.knime.core.node.BufferedDataTable","color":"000000","dataType":"Table","optional":false,"name":"Appended table","description":"Input table with an additional calculated column or one column replaced."}],"dynInPorts":[],"dynOutPorts":[],"additionalSiteInformation":{"url":"https://update.knime.com/analytics-platform/5.12","trusted":true,"enabledByDefault":true,"name":"KNIME Analytics Platform 5.12 Update Site","version":"5.12.0"},"dialog":[{"fields":[{"name":"Column List","description":"The list contains the column that are available in the input table. Double click any of the column names to insert the respective field in the expression editor. It will replace your current selection or simply insert at the current caret position.","optional":false},{"name":"Flow Variable List","description":"The list contains the flow variables that are currently available at the node input. Double clicking any of the entries will insert the respective identifier at the current cursor position (replacing the selection, if any).","optional":false},{"name":"Function","description":"Select a single function to display its description. A double click will insert the function in the expression editor. It will replace your current selection or simply insert at the current caret position. Select a category to narrow down the list of displayed functions.","optional":false},{"name":"Expression","description":"The place for your business logic. You can hit <i>ctrl&#43;space</i> to get an auto completion box.","optional":false},{"name":"Replace/Append","description":"Specify here if you want the result to be put into a separate or existing column.","optional":false},{"name":"Insert Missing As Null","description":"If selected, missing values in the input table will be represented by <tt>null</tt> in the expression. If unselected, a missing value in the input will produce a missing output cell without evaluating the expression.","optional":false},{"name":"Syntax check on close","description":"If unchecked the dialog can be closed even when the expression has syntax errors.","optional":false}]}],"links":[],"kudos":[{"accountId":"account:user:5cf88f0c-c20f-42b0-87be-d54e82f239fd","user":"takumi_baito","date":"2024-02-07T12:04:04+00:00"},{"accountId":"account:user:644379c1-7dd8-47b5-b70e-ebcf06b6bd2c","user":"vpinrange","date":"2022-05-05T21:32:16+00:00"},{"accountId":"account:user:751e2226-1074-4bf6-b7af-29a0c091d977","user":"gimbo","date":"2021-02-18T19:48:16+00:00"},{"accountId":"account:user:6e639a62-a85d-498c-8112-0f199e557f12","user":"luca_gaona_1","date":"2024-05-31T12:12:07+00:00"},{"accountId":"account:user:c083d0da-7a1f-4325-bcef-70be89cad8b4","user":"arielpb","date":"2023-04-13T16:02:49+00:00"},{"accountId":"account:user:1a89b8de-a1af-46a8-a907-d520758b3d19","user":"lada","date":"2020-12-29T16:17:26+00:00"},{"accountId":"account:user:a0078ccc-3ac7-4d97-94cf-f1a761f5a2a9","user":"ricardo_martins","date":"2023-05-04T20:47:22+00:00"},{"accountId":"account:user:9b8a61f1-6ffa-4fb4-93bf-4bbe1d9c67f0","user":"alexko65","date":"2023-11-06T10:17:50+00:00"},{"accountId":"account:user:498b0732-17cb-40a8-bc35-fccbe94ac93e","user":"nborbas","date":"2023-04-27T08:35:07+00:00"},{"accountId":"account:user:fd74d1b4-da47-4c58-86e7-4fdd8c45dce0","user":"lukass","date":"2021-10-22T07:55:07+00:00"}],"kudosCount":10,"bundleInformation":{"bundleVersion":"5.12.0.v202606171353","bundleName":"KNIME Java Snippet Nodes","bundleSymbolicName":"org.knime.jsnippets","bundleVendor":"KNIME AG, Zurich, Switzerland","featureSymbolicName":"org.knime.features.javasnippet","featureName":"KNIME Javasnippet","featureVersion":"5.12.0.v202606171353","featureVendor":"KNIME AG, Zurich, Switzerland","extensionId":"*hXfYFyb7ZzM0xseG"},"frequentSuccessors":[{"id":"*ZgYyOm1P9VJVBE9e","factoryName":"org.knime.base.node.preproc.joiner.Joiner2NodeFactory","probability":0.11308701657458564},{"id":"*eOn8ibZnxIkY7XhT","factoryName":"org.knime.base.node.preproc.stringmanipulation.StringManipulationNodeFactory","probability":0.10905847145488029},{"id":"*5stmXk6zY_ORA4bC","factoryName":"org.knime.base.node.preproc.groupby.GroupByNodeFactory","probability":0.06975138121546962},{"id":"*DOkyMaii62U05xZ1","factoryName":"org.knime.base.node.preproc.filter.column.DataColumnSpecFilterNodeFactory","probability":0.058183701657458564},{"id":"*jd2U-FYTI8jCbQls","factoryName":"org.knime.base.node.preproc.filter.row.RowFilterNodeFactory","probability":0.045925414364640885},{"id":"*20rIDLuYXD4U8cnN","factoryName":"org.knime.base.node.preproc.colconvert.stringtonumber.StringToNumberNodeFactory","probability":0.038616482504604054},{"id":"*0rhLXWO6OS1xMi8T","factoryName":"org.knime.base.node.preproc.append.row.AppendedRowsNodeFactory","probability":0.03683241252302026},{"id":"*zpGPAjDyExkFL2HB","factoryName":"org.knime.base.node.rules.engine.RuleEngineNodeFactory","probability":0.02906307550644567},{"id":"*sLTXYsycpYMwt_yW","factoryName":"org.knime.time.node.convert.stringtodatetime.StringToDateTimeNodeFactory","probability":0.022156998158379373},{"id":"*PHWv6FsABEjrSc76","factoryName":"org.knime.base.node.preproc.rename.RenameNodeFactory","probability":0.02117863720073665}]}
