I have an array of Generic value which contains [2,3,“boy”,4]. I would want to convert it to string like this “2,3,boy,4”
Thanks in advance for helping
I have an array of Generic value which contains [2,3,“boy”,4]. I would want to convert it to string like this “2,3,boy,4”
Thanks in advance for helping
give a try on
Or
someArray = new String(){"2","3","""boy""","4"}
someString = String.Join(",",someArray.ToList().Select(Function(x) x.ToString().Replace("""",String.Empty)))
Your output when written to log:
08/25/2021 16:04:45 2,3,boy,4
simply - String.join (your arrayname, “,”) should do.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.