<?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>Additional Semi Colon in IDP Key-Value Extraction in Process Variable</title><link>https://community.appian.com/discussions/f/rules/39031/additional-semi-colon-in-idp-key-value-extraction-in-process-variable</link><description>Hi All, 
 I am using the Advanced IDP to extract Key-Value pairs from a PDF. Even though the key - values are present in a 2 columns table, I decided to use Key-Value extraction instead of table extraction as each key occurs only once. I can see the extracted</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Additional Semi Colon in IDP Key-Value Extraction in Process Variable</title><link>https://community.appian.com/thread/150220?ContentTypeID=1</link><pubDate>Tue, 22 Jul 2025 10:59:20 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ec02196b-8832-4808-b0bd-d0af73cae2ae</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Could it be that your variable is a multiple and Appian just displays the list separated by a &amp;quot;;&amp;quot;?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Additional Semi Colon in IDP Key-Value Extraction in Process Variable</title><link>https://community.appian.com/thread/150217?ContentTypeID=1</link><pubDate>Tue, 22 Jul 2025 10:34:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5260b3f5-134d-40bb-98ba-7c54d499348a</guid><dc:creator>kapilsharma</dc:creator><description>&lt;p&gt;Hi &lt;a href="/members/shuvokarc0001"&gt;shuvokar&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can remove the extra semicolons and also eliminate the duplicate values.&lt;br /&gt;I&amp;#39;ve attached a sample code for your reference.&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!flatten(
  a!distinct(
    reject(
      fn!isnull,
      fn!split(ri!extractedString, &amp;quot;;&amp;quot;)
    )
  )
)
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Additionally, you can review the mapping by using Appian functions like &lt;code&gt;stripWith&lt;/code&gt; and &lt;code&gt;replace&lt;/code&gt; to clean the inputs before assignment or by&amp;nbsp; checking trim and check for null/empty values.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>