I want to add 5,3,2,1 in variable so it will be configurable it only accepts int
Hi,
Do you mean you need to set {5,3,2,1} to variable? If so, simply try arrInt ={5,3,2,1}
using Assign activity then replace it with arrInt in the expression.
If the above is not your intent, can you elaborate your requirement?
Regards,
this is what you mean right?
my arr_maskedPosition will coming from google sheet so it is on string thatβs my issue i canβt find a way to convert strVar=β5,2,1,3β to integer
Hi,
Can you try the following expression?
arrInt = yourString.Split(","c).Select(Function(s) Int32.Parse(s.Trim)).ToArray
1 Like
This solves my issue thank you so much!
1 Like
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.