Skip to main content
May 5, 2022
Solved

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

  • May 5, 2022
  • 4 replies
  • 0 views

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"

Best answer by nareshs945

Hi,

Instead of converting to sting use this logic.

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

it will work

4 replies

Inspiring
May 5, 2022

Hi,

Instead of converting to sting use this logic.

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

it will work

ericm0013Author
May 5, 2022

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

stefanhelzle0001
Brainy
May 6, 2022

Sometimes the categories on this page might help.

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

May 9, 2022

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