How to Get the array of string from configuration file uipath with delimiter is comma(,)

Hi Dear,

I have a arrays of string with. Column names as a,b,c,d,e,f,g… {"a’',“b”,“c”,“d”,“e”,“f”,“g”}

So I want these values to get from configuration file in the REF…

And delimiter is camma(,)

Could you please help me to get the solution for this…

in config file create a name and value , in value the input you should use like comma seperated like a,b,c,d,e,f

in your code you can use syntax like following

in_config(“yourkeyname”).tostring.split(","c).toarray

Hi @chandolusathi.kumar,

Are these values ​​in your config file or do you want to transfer them to your config variable?

If you want to use one by one while pulling the config from excel.

Config("yourPatern").ToString.Split(","c)(0).ToString

this will give you the first index of the array.

Regards,
MY

I want assign those values in configuration file and get in the REF

Hello @chandolusathi.kumar ,

Assign the values in Config file under Settings sheet as : A,B,C,D,E.
image

In your workflow use a ListVariable and assign the values from config to list variable as below :
MyList = in_config(“KeyName”).tostring.Split(","c).ToList