Hi.
You can do most things with string manipulation through vb.net in UiPath, so there are various sources out there online to figure out how to do something like this.
One approach would be to use Regex.Matches() to create an array of any character up to certain length
System.Text.RegularExpressions.Regex.Matches("12345678901234567890","(.*){10}").Count.ToString
The above example would split the string by 10 characters using the pattern “(.*){10}”