Function similar to a!joinarray in 22.4

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 function that will enable me to accomplish this?  

Thank you.

Final desired result: 360392, 361150, 361177, 377913, 378165 

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Lead Developer
    in reply to Dave Lewis

    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's plaintext rendering of the array with the "; " separators, then stripping those out using substitute.  But that totally depends on the behavior of casting an array to a string, which I don't believe there'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.

Children