<?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>Function similar to a!joinarray in 22.4</title><link>https://community.appian.com/discussions/f/new-to-appian/28176/function-similar-to-a-joinarray-in-22-4</link><description>Hello: 
 I am looking to convert an array of number to a single string with comma as the separator. In 23.1, they have a function called a!joinarray which seems to be the function I want to use but I am on 22.4 CE. So, the question is there a similar</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Function similar to a!joinarray in 22.4</title><link>https://community.appian.com/thread/110028?ContentTypeID=1</link><pubDate>Sat, 25 Mar 2023 12:13:30 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7731dcba-7b92-402e-817e-a70e85ec107b</guid><dc:creator>MaNa</dc:creator><description>&lt;p&gt;Thanks, Sanchit! &amp;nbsp;I am learning subtle things like that as I go through these tutorials / examples.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Function similar to a!joinarray in 22.4</title><link>https://community.appian.com/thread/110027?ContentTypeID=1</link><pubDate>Sat, 25 Mar 2023 12:10:30 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bb7b02b9-9404-4c8f-86df-807910e35f88</guid><dc:creator>sanchitg0002</dc:creator><description>&lt;p&gt;That&amp;#39;s why never start typing with domain prefix unless you are using an interface component or smart service (they&amp;nbsp;all&amp;nbsp;have a! domain prefix). When you start with a! domain it will only suggest functions which use that domain, so better start typing the function name directly. Happy coding&amp;nbsp;&lt;span class="emoticon" data-url="https://community.appian.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Function similar to a!joinarray in 22.4</title><link>https://community.appian.com/thread/110026?ContentTypeID=1</link><pubDate>Sat, 25 Mar 2023 11:40:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1501dc9c-af41-44d1-bc65-1855af0857cc</guid><dc:creator>MaNa</dc:creator><description>&lt;p&gt;Mea culpa/apologies - I shouldn&amp;#39;t have put the &amp;#39;a!&amp;#39; in my code - I was trying to use &amp;#39;a!joinarray&amp;#39; (realize it doesn&amp;#39;t exist) when I should have been using &amp;#39;joinarray&amp;#39;.&amp;nbsp; I was using a!update and a!flatten as part of that code and didn&amp;#39;t may close attention to the fact that joinarray doesn&amp;#39;t have the &amp;#39;a!&amp;#39; prefix.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Function similar to a!joinarray in 22.4</title><link>https://community.appian.com/thread/110006?ContentTypeID=1</link><pubDate>Fri, 24 Mar 2023 15:23:18 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:523a3bf0-147d-48a8-998f-4902d8b0bdca</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;it&amp;#39;s the only one i know about&amp;nbsp;&lt;span class="emoticon" data-url="https://community.appian.com/cfs-file/__key/system/emoji/1f937_2D00_1f3fb.svg" title="Shrug tone1"&gt;&amp;#x1f937;&amp;#x1f3fb;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Also, didn&amp;#39;t you just say your 22.4 CE instance &amp;quot;doesn&amp;#39;t allow&amp;quot; you to use it?&amp;nbsp; I&amp;#39;m confused what you were referring to, then.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Function similar to a!joinarray in 22.4</title><link>https://community.appian.com/thread/110005?ContentTypeID=1</link><pubDate>Fri, 24 Mar 2023 15:22:15 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:66ab5a98-d637-4428-9198-3eba71441a05</guid><dc:creator>MaNa</dc:creator><description>&lt;p&gt;I didn&amp;#39;t know about the regular joinArray.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Function similar to a!joinarray in 22.4</title><link>https://community.appian.com/thread/110004?ContentTypeID=1</link><pubDate>Fri, 24 Mar 2023 15:18:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ef926f46-2619-490d-ae19-75925a4a7fd7</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="82813" url="~/discussions/f/new-to-appian/28176/function-similar-to-a-joinarray-in-22-4/110003#110003"]Am I missing something?[/quote]
&lt;p&gt;Yes, I assume you&amp;#39;re missing something, but I have no idea what it might be - so please post the code you&amp;#39;re attempting to use, and a screenshot showing it plus the result (and any other context).&amp;nbsp; I&amp;#39;ve been using joinArray() since at least 2014 or so, and all Appian versions after that, so I am confident that our CE instances have it.&lt;/p&gt;
&lt;p&gt;Edit: here&amp;#39;s code and a resultant screenshot that I literally just typed into my 22.4 CE instance:&lt;br /&gt;&lt;pre class="ui-code" data-mode="java"&gt;a!localVariables(
  
  local!arrayOfNumbers: {
    234235,
    45324052,
    8934,
    1,
    358905998
  },
  
  joinarray(local!arrayOfNumbers, &amp;quot;, &amp;quot;)
)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/62/pastedimage1679671296678v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Function similar to a!joinarray in 22.4</title><link>https://community.appian.com/thread/110003?ContentTypeID=1</link><pubDate>Fri, 24 Mar 2023 15:16:21 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9e022d8e-10e2-4b45-99aa-21b37b2e1ae5</guid><dc:creator>MaNa</dc:creator><description>&lt;p&gt;Mike,&lt;/p&gt;
&lt;p&gt;If I understand you correctly, you are also suggesting that I should use joinArray?&amp;nbsp; But for community edition 22.4, I can&amp;#39;t seem to find a version that work.&amp;nbsp; Am I missing something?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Function similar to a!joinarray in 22.4</title><link>https://community.appian.com/thread/110001?ContentTypeID=1</link><pubDate>Fri, 24 Mar 2023 15:14:56 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:67f92483-b85b-4470-8c27-2f207c444629</guid><dc:creator>MaNa</dc:creator><description>&lt;p&gt;Dave,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Is there a version of a!joinArray I can use for 22.4?&amp;nbsp; My 22.4 community edition doesn&amp;#39;t allow me to use joinArray.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Function similar to a!joinarray in 22.4</title><link>https://community.appian.com/thread/109998?ContentTypeID=1</link><pubDate>Fri, 24 Mar 2023 14:13:30 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a61b5cce-946f-4abf-8a1a-a0312d752800</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;Yeah, the substitute approach seen here works, but also only kinda by accident - because by casting the array as a string using tostring(), you get Appian&amp;#39;s plaintext rendering of the array with the &amp;quot;; &amp;quot; separators, then stripping those out using substitute.&amp;nbsp; But that totally depends on the behavior of casting an array to a string, which I don&amp;#39;t believe there&amp;#39;s any particular guarantee will always behave the same way - so of course the cleaner way is handling the array itself, and not taking the extra intermediary steps.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Function similar to a!joinarray in 22.4</title><link>https://community.appian.com/thread/109996?ContentTypeID=1</link><pubDate>Fri, 24 Mar 2023 14:07:52 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:917f4a97-623f-4641-9c3f-24ca7771df30</guid><dc:creator>davel001150</dc:creator><description>&lt;p&gt;Good to know the substitute approach, but yes I use joinArray() almost every day to do what you said, and I have for many years.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Function similar to a!joinarray in 22.4</title><link>https://community.appian.com/thread/109995?ContentTypeID=1</link><pubDate>Fri, 24 Mar 2023 13:49:49 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fe689370-c110-4237-91b0-cb6ed5af51ab</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;There is no &amp;quot;a!joinArray&amp;quot;.&amp;nbsp; There is regular &amp;quot;&lt;em&gt;&lt;strong&gt;joinArray()&lt;/strong&gt;&lt;/em&gt;&amp;quot; which has been around for many years now &lt;em&gt;(&lt;strong&gt;long&lt;/strong&gt;&lt;/em&gt; before any of the &amp;quot;22.x&amp;quot; versions)&lt;em&gt;.&lt;/em&gt;&amp;nbsp; What&amp;#39;s wrong with just using this, regular, joinArray()?&lt;/p&gt;
&lt;p&gt;e.g.: &lt;span style="text-decoration:underline;"&gt;&lt;em&gt;joinArray(local!myList, &amp;quot;, &amp;quot;)&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Function similar to a!joinarray in 22.4</title><link>https://community.appian.com/thread/109993?ContentTypeID=1</link><pubDate>Fri, 24 Mar 2023 13:26:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a3937824-704f-4c27-b715-6dc0e48b2926</guid><dc:creator>MaNa</dc:creator><description>&lt;p&gt;Found the answer -&amp;nbsp;&amp;nbsp; substitute(tostring(local!fdcIDSublist),&amp;quot;;&amp;quot;,&amp;quot;,&amp;quot;) does what I want&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>