Skip to main content
gersond0001
June 8, 2022
Solved

DE-concatenate a String at a particular index in a List of Strings

  • June 8, 2022
  • 1 reply
  • 2 views

Hi.

I have a requirement to get characters from a String at a particular index in a List of Strings and replace semicolon (;) with a comma (,)

Let's say for example we have a list of strings with only one value at index1:  {"Bob; Troy; Victor"}

Required output: {"Bob", "Troy", "Victor"}

Is there a way to iterate individual string characters at a particular index and replace semicolon (;) with a comma (,)

Thanks!

Best answer by stefanhelzle0001

Check the split() function.

If the first value a string, and you want to turn it into a list?

1 reply

stefanhelzle0001
Brainy
June 8, 2022

Check the split() function.

If the first value a string, and you want to turn it into a list?