QuestionQ72

VerifiedData Manipulation

A developer has created the following string-array variable:

UserNames = \{“Jane”, “Jack”, “Jill”, “John”\}

Which expression should the developer use in a Log Message activity to print the array elements separated by the string “,”?

Explanation

String.Join concatenates the elements of a string array, placing the specified separator between each element. Its required argument order is the separator followed by the array, so it produces Jane,Jack,Jill,John.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!