Layman term of this expression

Encountered this expression in UiPath Academy RPA Developer Foundation (under Data Manipulation). Is there anyone who can explain this in layman term? Thankyou.

Expression:
String.Format(“Availability for {0}: {1}”,author, String.Join(";"+vbCr,bookstores))
– author and bookstores are variables.

1 Like

Hi @yodeedee

{0}:{1} this the container of you variables author,bookstoress

Availability for authorVariable : bookstoresVariable thats it.

I hope it make sense.

cheers :smiley:

Happy learning :smiley:

1 Like

Thankyou so much for your prompt response.

This expression is used in the Log Message Activity (under message), after running the file, the output is “Availability for author Mark Twain: Bookland;Classics bookstore”. What is the link to String.Format(“Availability for {0}: {1}”,author, String.Join(";"+vbCr,bookstores)) ?? What is the {0}:{1} for? Thankyou.

Hi @yodeedee

Like what i said its only the container of your variable. if you have 3 variable then you will create like these {0}{1} {2} and so on and so on …

cheers :smiley:

Happy learning :smiley:

3 Likes

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