<?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 Replace Special Characters [ , ], &amp;quot; from a local variable  result</title><link>https://community.appian.com/discussions/f/general/25821/how-to-replace-special-characters-from-a-local-variable-result</link><description>Hi every one, 
 I&amp;#39;m having a local variable that store data in a Json format then converted it into a type that Appian accepts: 
 a!fromJson(local!settings) 
 and I get this as the result: 
 Dictionary 
 
 
 name &amp;quot;Type&amp;quot; (Text) 
 
 
 value &amp;quot;[&amp;quot;5&amp;quot;]&amp;quot; (Text</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How to Replace Special Characters [ , ], " from a local variable  result</title><link>https://community.appian.com/thread/101091?ContentTypeID=1</link><pubDate>Tue, 13 Sep 2022 12:19:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7bd31141-4762-4f58-a2e8-fc330ebc303c</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;Spambots getting more and more crafty...&lt;br /&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/11/pastedimage1663071585160v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to Replace Special Characters [ , ], " from a local variable  result</title><link>https://community.appian.com/thread/101039?ContentTypeID=1</link><pubDate>Tue, 13 Sep 2022 02:39:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:96c9f6df-3668-45e9-b1f6-5287ed412b0d</guid><dc:creator>mollyn126</dc:creator><description>&lt;p&gt;Thanks a lot Stefan!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to Replace Special Characters [ , ], " from a local variable  result</title><link>https://community.appian.com/thread/101038?ContentTypeID=1</link><pubDate>Tue, 13 Sep 2022 02:39:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:28bfa48e-656b-4e6c-b098-936b8507eb93</guid><dc:creator>mollyn126</dc:creator><description>&lt;p&gt;Thanks Harshit!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to Replace Special Characters [ , ], " from a local variable  result</title><link>https://community.appian.com/thread/100910?ContentTypeID=1</link><pubDate>Sat, 10 Sep 2022 08:39:30 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:53df87d6-6842-4387-9662-e93654f242d6</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;There are no special characters. wherecontains requires the data types to match. This is what the error message claims.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to Replace Special Characters [ , ], " from a local variable  result</title><link>https://community.appian.com/thread/100905?ContentTypeID=1</link><pubDate>Sat, 10 Sep 2022 07:58:56 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bd26e3f1-fe85-4317-9c99-ee254f50d44f</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;Just wrap the second parameter of whereContains() function in toInteger() and that should work.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;index(local!settings, wherecontains(tointeger(local!currentType.Id),tointeger(local!settings)),&amp;quot;value&amp;quot;,null)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>