<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Remove non printable characters in input text/para field.</title><link>https://community.appian.com/discussions/f/rules/39744/remove-non-printable-characters-in-input-text-para-field</link><description>Hi , 
 
 I have a set of non printable characters in DB as number and we use char function and concat function to combine in a single string and used strip function to remove it from text. Now the requirement is to replace text with space. I tried substitute</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Remove non printable characters in input text/para field.</title><link>https://community.appian.com/thread/151629?ContentTypeID=1</link><pubDate>Thu, 18 Sep 2025 11:11:43 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:05c99990-45e2-4295-a2ec-b8c5ff3d22e0</guid><dc:creator>Stefan Helzle</dc:creator><description>[quote userid="61152" url="~/discussions/f/rules/39744/remove-non-printable-characters-in-input-text-para-field"]not working as expected[/quote]
&lt;p&gt;What do you expect? Please explain in more details.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Remove non printable characters in input text/para field.</title><link>https://community.appian.com/thread/151626?ContentTypeID=1</link><pubDate>Thu, 18 Sep 2025 10:53:59 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:876c454b-3496-4cab-a1f5-e5c7fe29c44a</guid><dc:creator>Shubham Aware</dc:creator><description>&lt;p&gt;I tried to replicate your requirement.&lt;br /&gt;Make changes to your code accordingly.&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!specialCharacterIds: { 9, 10, 13, 160, 8203 },
  /* Tab, LF, CR, NBSP, Zero-width space */
  local!sampleText: &amp;quot;John&amp;quot; &amp;amp; char(9) &amp;amp; &amp;quot;Wick&amp;quot; &amp;amp; char(10) &amp;amp; &amp;quot;Test&amp;quot; &amp;amp; char(13) &amp;amp; &amp;quot;Data&amp;quot; &amp;amp; char(160) &amp;amp; &amp;quot;End&amp;quot;,
  /* Convert IDs to actual characters */
  local!specialCharacters: a!forEach(
    local!specialCharacterIds,
    char(fv!item)
  ),
  {
    a!textField(
      label: &amp;quot;Comment&amp;quot;,
      value: reduce(
        fn!substitute,
        local!sampleText,
        local!specialCharacters,
        &amp;quot; &amp;quot;
      ),
      readOnly: true
    )
  }
)&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Let me know if this works for you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>