<?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>How to remove special character from field and save it ?</title><link>https://community.appian.com/discussions/f/general/23930/how-to-remove-special-character-from-field-and-save-it</link><description>Hi Team, 
 I am getting special character i.e &amp;quot;;&amp;quot; in empty field, how to remove the special character and save the value? 
 Already tried stripwith() and it is not working as expected.</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How to remove special character from field and save it ?</title><link>https://community.appian.com/thread/92071?ContentTypeID=1</link><pubDate>Thu, 10 Mar 2022 09:00:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:59b990c9-90ba-4464-b802-a36b7f0f1d0d</guid><dc:creator>ajhick</dc:creator><description>&lt;p&gt;Yeah, I&amp;#39;m uncertain on the use case too.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!myArray: {&amp;quot;&amp;quot;,&amp;quot;&amp;quot;},
  {
    a!forEach(
      items: local!myArray,
      expression: a!textField(
        label: &amp;quot;Display each index in a seperate field &amp;quot; &amp;amp; fv!index,
        value: fv!item
      )
    )
  }
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to remove special character from field and save it ?</title><link>https://community.appian.com/thread/92070?ContentTypeID=1</link><pubDate>Thu, 10 Mar 2022 08:43:56 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a6caaaaa-5c58-4532-a831-9ac71ed0d9e4</guid><dc:creator>Stewart Burchell</dc:creator><description>&lt;p&gt;...or you display an array of text fields (or whatever the component is you&amp;#39;re using), one for each item in the array.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to remove special character from field and save it ?</title><link>https://community.appian.com/thread/92069?ContentTypeID=1</link><pubDate>Thu, 10 Mar 2022 08:42:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ccfd231b-5259-433e-88b0-9dc344ab5360</guid><dc:creator>ajhick</dc:creator><description>&lt;p&gt;Yeah, need more info and Stewart is (obviously) right on and you need to rethink your code.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not sure why you&amp;#39;re displaying an array in a single text field both the below code&amp;nbsp;can work depending on your exact use case.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!myArray: {&amp;quot;&amp;quot;,&amp;quot;&amp;quot;},
  local!emptyIndexes: where(
    a!forEach(
      items: local!myArray,
      expression: a!isNullOrEmpty(fv!item)
    )
  ),
  {
    a!textField(
      label: &amp;quot;Concatenate your array&amp;quot;,
      value: concat(local!myArray)
    ),
    a!textField(
      label: &amp;quot;Remove empty indexes&amp;quot;,
      value: remove(
        local!myArray,
        local!emptyIndexes
      )
    )
  }
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to remove special character from field and save it ?</title><link>https://community.appian.com/thread/92068?ContentTypeID=1</link><pubDate>Thu, 10 Mar 2022 08:41:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fd909b54-e730-4258-9d7f-87f8edec7e39</guid><dc:creator>minhajk0002</dc:creator><description>&lt;p&gt;How to remove that semi-colon ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to remove special character from field and save it ?</title><link>https://community.appian.com/thread/92067?ContentTypeID=1</link><pubDate>Thu, 10 Mar 2022 08:29:27 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0b1095b0-a660-418f-ac3f-7166814e378a</guid><dc:creator>Stewart Burchell</dc:creator><description>&lt;p&gt;Then you need to re-think how to display the data. You have a list and are currently trying to display in a single field, so Appian is trying to be helpful by rendering the list with the semi-colon as a separator.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to remove special character from field and save it ?</title><link>https://community.appian.com/thread/92066?ContentTypeID=1</link><pubDate>Thu, 10 Mar 2022 08:28:11 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3ceafa6c-ee9b-4d76-b3ac-754485b6133f</guid><dc:creator>minhajk0002</dc:creator><description>&lt;p&gt;It is in array format&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to remove special character from field and save it ?</title><link>https://community.appian.com/thread/92065?ContentTypeID=1</link><pubDate>Thu, 10 Mar 2022 08:27:47 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b9c5aca1-0bd4-4cd5-8ba0-1cc2f23fa62c</guid><dc:creator>GopalK</dc:creator><description>&lt;p&gt;Hi, where exactly are you getting this ? If possible share some screenshots. There are multiple ways to do this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to remove special character from field and save it ?</title><link>https://community.appian.com/thread/92062?ContentTypeID=1</link><pubDate>Thu, 10 Mar 2022 08:10:03 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:54a0e194-d37b-4e98-bdc3-e3fb0172d45e</guid><dc:creator>Stewart Burchell</dc:creator><description>&lt;p&gt;Have you checked whether the data you&amp;#39;re providing to the field is an array of null items? Appian will add the semi-colon as a separator character:&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/11/pastedimage1646899803204v2.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>