How to create a array from a string

I have a string 4357864-81/82/83/84/85 how can remove everything before and including the “-” and have it so 81, 82, 83… return in an array to create {“81”, “82”, “83”, “84”, “85”}.

HI @duaine.b

Checkout this expression



arr = yourString.Split("-"c,2)(1).Split("/"c)

ArrayVar = StringVar.Split("-“c)(1).Split(”/"c)

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.