Skip to main content
Known Participant
May 5, 2022 7:23 PM UTC
Solved

How to remove ;(semicolon) when converting an array tostring()?

I have an array of strings but when I use the tostring function on the array there is a semicolon in-between each string. How do I get rid of the semicolon and if possible get rid of them with out spaces being left in there too.

ex) 

tostring({"123","456", "789"}) -> "123;456;789"

what I want is "123456789"

Inspiring
May 5, 2022 7:45 PM UTC

Hi,

Instead of converting to sting use this logic.

joinarray({"123","456", "789"}, "")

it will work

4 replies

Inspiring
May 5, 2022 7:45 PM UTC

Hi,

Instead of converting to sting use this logic.

joinarray({"123","456", "789"}, "")

it will work

ericm0013Author
Known Participant
May 5, 2022 7:48 PM UTC

Thank you, of all the words I was searching with in functions I didn't use join =D

stefanhelzle0001
Brainy
May 6, 2022 6:05 AM UTC

Sometimes the categories on this page might help.

docs.appian.com/.../Appian_Functions.html

Known Participant
May 9, 2022 2:46 AM UTC

You can use tostring then stripwith if you really want to convert it to string. Assuming that the values are not string already.