Array of string using semicolon

Hi All,

I am having Array of string variable, Var1={“Jan”,“Feb”,“Mar”}
in message box i need to print =Jan;Feb;Mar

Please help me with the steps.

Thanks in advance!!
Pavan

Hi @Pavan_kumar15

Try this:

Assign -> Var1={"Jan","Feb","Mar"}

Assign -> Output = String.Join("; ", Var1)

Regards

Hi @Pavan_kumar15

Check the below image for better understanding:

Regards

@Pavan_kumar15,

You can do this by using String.Join(";", Var1) pass this code to Message Box Text property.

Learning curve: String.Join Method (System) | Microsoft Learn

Thanks,
Ashok :slight_smile:

1 Like

Thanks @vrdabberu
This worked!!

1 Like

Thank you @ashokkarale for your input.

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