I need output as
Balance Sheet
Central Benefits Admin
Cost Pool*
Direct Charge to Intercompany
Funding Dept
Marriott Rewards
Offset
Ritz Carlton Net Admin
Tuitions
Vendor Credits
Logic is only with the split with capital letter. If anything else suggest me and help me with this.
Previous solution was rather crude. With a little help from ChatGPT:
Use this in your robot: Assign s_SplitResults --> system.text.RegularExpressions.regex.Split(s_Source, "(?<=[a-z*])(?=[A-Z])")
s_Source being your crude text string
s_SplitResults being an array of string containing the split values as per your requirements.