Articles → UIPATH → Split The String In Uipath
Split The String In Uipath
Scenario
Example
- Declare a variable "strBefore" with the value "21-20-22".
Click to Enlarge
- Declare another variable "strAfter" of type System.String[] and assign the following value "strBefore.Split("
Click to Enlarge
- Loop through all the items in the"strAfter" variable using the foreach loop.
Click to Enlarge
- Save and run the bot.
Output
Click to Enlarge