QuestionQ11

Variables and Arguments

How can you correctly create a string array containing the folder names from the variable FullFilePath = "C:\Users\UiPathRobot\Documents\Technologies"?

  • A String Replace("'.FuliFilePath)
  • B Split(FullFilePath. "')
  • C Split("'.FullFilePath)
  • D String.Replace(FullFilePath."')
Explanation

String.Split separates a string at a specified delimiter and returns an array of the resulting substrings. Splitting FullFilePath on the backslash delimiter yields the individual folder-name segments of the path.

Learn more

Community Discussion

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