UiPath String Format Method

Question: The String.Format(“Input = {0} and Output = {1}”, “1”,”2”) expression returns the following text

  •   Input = 1 and Output = 1
  •   Input = 1 and Output = 2
  •   Input = {0} and Output = {1}
  •   Input = 0 and Output = 0

Answer

Option B is correct.

String.Format in UiPath Studio

The String.Format(“Input = {0} and Output = {1}”, “1”,”2”) will return Input = 1 and Output = 2.