<?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>I have a value like &amp;quot;A1~B2~C3&amp;quot; in a multiple PV. Now I want to convert</title><link>https://community.appian.com/discussions/f/rules/1757/i-have-a-value-like-a1-b2-c3-in-a-multiple-pv-now-i-want-to-convert</link><description>I have a value like &amp;quot;A1~B2~C3&amp;quot; in a multiple PV. Now I want to convert into multiple values like &amp;quot;A1; B2; C3&amp;quot; so that I can treat them as 3 different values. I used substitute function to show it as &amp;quot;A1; B2; C3&amp;quot; but it still counts it as single value</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: I have a value like "A1~B2~C3" in a multiple PV. Now I want to convert</title><link>https://community.appian.com/thread/6272?ContentTypeID=1</link><pubDate>Thu, 19 Dec 2013 13:30:11 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a9b77f9b-6221-400c-ad2e-656770f626c2</guid><dc:creator>Eduardo Fuentes</dc:creator><description>Although you should consider upgrading, the support for 6.6.0 expired on 31 Jan 2013&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have a value like "A1~B2~C3" in a multiple PV. Now I want to convert</title><link>https://community.appian.com/thread/6271?ContentTypeID=1</link><pubDate>Thu, 19 Dec 2013 13:28:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0f4ef4c6-0e81-4de5-99d1-8432785e9cd8</guid><dc:creator>Eduardo Fuentes</dc:creator><description>Another option that worked for me in 6.6.0 is:&lt;br /&gt;&lt;br /&gt;=split(joinarray(substitute(ri!text,&amp;quot;,&amp;quot;,&amp;quot;~&amp;quot;),&amp;quot;~&amp;quot;),&amp;quot;~&amp;quot;)&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have a value like "A1~B2~C3" in a multiple PV. Now I want to convert</title><link>https://community.appian.com/thread/6261?ContentTypeID=1</link><pubDate>Thu, 19 Dec 2013 09:11:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:256a9d88-51e2-4e4b-bd33-3ad0c1108140</guid><dc:creator>Eduardo Fuentes</dc:creator><description>Ah that&amp;#39;s why, you are using an older version. The split function is designed to work with single valued text inputs, in newer versions that is not a problem but in yours you won&amp;#39;t be able to use multi-valued strings with the split() functions which kind of makes sense since the purpose is to convert a text into an array therefore passing an array of text doesn&amp;#39;t match the arguments of the function (although is handled correctly in newer versions)&lt;br /&gt;&lt;br /&gt;Since you are in an old version of Appian you should try using the DoForEach plug-in. It has been deprecated but most likely you already have it in your environment, that way you can call this rule for each item in the array; you will pass the array to the doForEach while the rule that runs the split will be receiving a single item (the string to be converted to an array).&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have a value like "A1~B2~C3" in a multiple PV. Now I want to convert</title><link>https://community.appian.com/thread/6260?ContentTypeID=1</link><pubDate>Thu, 19 Dec 2013 04:14:50 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:055c7d7d-3c84-4370-a99d-9ed1cf06c59d</guid><dc:creator>rishub</dc:creator><description>Actually we are getting the values from report &amp;amp; making them single using Join Array in Report when It has same Account  and same SSN but they can have same SSN with two Accts so they can have values like A~B~C;D~E, that is why we are having it multiple.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have a value like "A1~B2~C3" in a multiple PV. Now I want to convert</title><link>https://community.appian.com/thread/6259?ContentTypeID=1</link><pubDate>Thu, 19 Dec 2013 04:11:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0bd079c2-4369-47a4-af7a-418f56aef7a2</guid><dc:creator>rishub</dc:creator><description>Appian 6.6.0&lt;br /&gt;&lt;br /&gt;yes, it does&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have a value like "A1~B2~C3" in a multiple PV. Now I want to convert</title><link>https://community.appian.com/thread/6258?ContentTypeID=1</link><pubDate>Thu, 19 Dec 2013 04:10:47 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:12fb419c-2bed-4ff2-accd-514fc27a4749</guid><dc:creator>Eduardo Fuentes</dc:creator><description>3. Why do you need it to be multiple if the purpose is to make arrays out of a non-array&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have a value like "A1~B2~C3" in a multiple PV. Now I want to convert</title><link>https://community.appian.com/thread/6257?ContentTypeID=1</link><pubDate>Thu, 19 Dec 2013 04:10:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:cce81ac5-9689-4e88-bbbf-a3106d949e32</guid><dc:creator>Eduardo Fuentes</dc:creator><description>1. What Appian version?&lt;br /&gt;2. Does your example look lime my screenshot when it&amp;#39;s set to &amp;quot;multiple&amp;quot;?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have a value like "A1~B2~C3" in a multiple PV. Now I want to convert</title><link>https://community.appian.com/thread/6256?ContentTypeID=1</link><pubDate>Thu, 19 Dec 2013 04:09:39 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4685bac3-c4cd-4683-9e87-9fcd7286b953</guid><dc:creator>rishub</dc:creator><description>When I make Input single, it work but when multiple it gives error.&lt;br /&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have a value like "A1~B2~C3" in a multiple PV. Now I want to convert</title><link>https://community.appian.com/thread/6255?ContentTypeID=1</link><pubDate>Thu, 19 Dec 2013 04:08:03 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e6eecb35-e5d7-410f-ba6e-2ff12aedae04</guid><dc:creator>rishub</dc:creator><description>Eduardo, I am getting the same result. I am using your expression and your test input but getting same error.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have a value like "A1~B2~C3" in a multiple PV. Now I want to convert</title><link>https://community.appian.com/thread/6254?ContentTypeID=1</link><pubDate>Thu, 19 Dec 2013 04:02:31 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f860c28f-61ab-42a2-88ed-1d8efc4dcb7c</guid><dc:creator>Eduardo Fuentes</dc:creator><description>This works for me even if I use &amp;quot;Text (Multiple)&amp;quot; (example: &lt;a href="https://forum.appian.com/suite/doc/121639)"&gt;forum.appian.com/.../121639)&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Let&amp;#39;s try this:&lt;br /&gt;&lt;br /&gt;1. Use this expression only as seen in my example, notice how this time I am appending fn! before the word split to make sure it calls the out of the box function:&lt;br /&gt;&lt;br /&gt;=fn!split(ri!text,char(126))&lt;br /&gt;&lt;br /&gt;2. Copy and paste this input to make sure your text doesn&amp;#39;t have any weird characters from an HTML page:&lt;br /&gt;&lt;br /&gt;A~B~C&lt;br /&gt;&lt;br /&gt;3. Click &amp;quot;Test Rule&amp;quot;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have a value like "A1~B2~C3" in a multiple PV. Now I want to convert</title><link>https://community.appian.com/thread/6253?ContentTypeID=1</link><pubDate>Thu, 19 Dec 2013 03:52:39 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a77671ae-0f13-4be1-a530-80a313cd81f0</guid><dc:creator>rishub</dc:creator><description>Even this did not work for me. My input is text multiple. That is why it is not working. Is there any function that works for multiple text input?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have a value like "A1~B2~C3" in a multiple PV. Now I want to convert</title><link>https://community.appian.com/thread/6252?ContentTypeID=1</link><pubDate>Thu, 19 Dec 2013 03:45:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ba52520f-9639-42da-8f3f-a2206e5e4bb8</guid><dc:creator>Eduardo Fuentes</dc:creator><description>That works for me but let&amp;#39;s use this one instead to see if that works better for you&lt;br /&gt;&lt;br /&gt;split(ri!text,char(126))&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have a value like "A1~B2~C3" in a multiple PV. Now I want to convert</title><link>https://community.appian.com/thread/6251?ContentTypeID=1</link><pubDate>Thu, 19 Dec 2013 03:34:16 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9b69217e-2633-423d-bd6a-e574afb673fa</guid><dc:creator>rishub</dc:creator><description>split(ri!text,&amp;quot;~&amp;quot;)&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have a value like "A1~B2~C3" in a multiple PV. Now I want to convert</title><link>https://community.appian.com/thread/6250?ContentTypeID=1</link><pubDate>Thu, 19 Dec 2013 03:33:31 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:20dd48d6-f9ed-4b70-9ec9-b723f9c63218</guid><dc:creator>rishub</dc:creator><description>Hi Eduardo,&lt;br /&gt;Using split function gave me error:&lt;br /&gt;EVAL:Invalid type@reason=Type Error: Invalid Character String: Cannot validate type (value in wrong format&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have a value like "A1~B2~C3" in a multiple PV. Now I want to convert</title><link>https://community.appian.com/thread/6249?ContentTypeID=1</link><pubDate>Thu, 19 Dec 2013 03:31:58 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f962b9ca-c13e-43af-973f-3dcfd52b3a40</guid><dc:creator>Eduardo Fuentes</dc:creator><description>For this and other text functions review Appian Documentation at &lt;a href="https://forum.appian.com/suite/wiki/73/Text_Functions"&gt;forum.appian.com/.../Text_Functions&lt;/a&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have a value like "A1~B2~C3" in a multiple PV. Now I want to convert</title><link>https://community.appian.com/thread/6248?ContentTypeID=1</link><pubDate>Thu, 19 Dec 2013 03:31:15 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a00b13d4-e39a-4387-8ca6-5937be783147</guid><dc:creator>Eduardo Fuentes</dc:creator><description>Use the split() function passing ~ as the delimiter.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>