Show List elements by using single variable

@balupad14 @indra
Hello,
I have

  1. list {a,b,c,d} and want to display like a,b,c,d in message box.
  2. list {a,b,c,d} and want to display like @a, @b, @c, @d.
1 Like

Hi,

Try Like the following, Code not tested.

  1. string.Join(β€œ,”, listValue)
  2. string.Join(β€œ,”, β€œ@” + listValue)
2 Likes

Thank you, it’s working.

    1. string.Join(β€œ,”, β€œ@” + listValue) not working please find the attached screenshot.

Please provide the updated solution.

Try string.Join(β€œ,”, β€œ@”, listValue) instead of string.Join(β€œ,”, β€œ@” + listValue) - as per the displayed error