How to convert 3;4;5 into {3,4,5}

I am saving multiple dropdown values like 3;4;5 and if I am passing the same value into an expression rule and doing for each it isn't taking individual value instead consider as 345.

How to convert 3;4;5 into {3,4,5}

  Discussion posts and replies are publicly visible

Parents Reply
  • +1
    Certified Lead Developer
    in reply to hemap0003

    I am not sure what you are doing here.

    But in general, storing a list of integers into a single string turns {1, 2, 3} into "1;2;3". This is what you observe. To avoid this, make sure to keep your data types a list of integer consistently.

    And no, working around that issue by using split(), works, but is a super ugly solution and will get you into trouble on the long run!

Children