Hello
To insert a space:
Try this in an Assign activity:
System.Text.RegularExpressions.Regex.Replace(INSERTYOURVARIABLE, “(?<=[a-z])(?=[A-Z])”, “ ”)
To clear the excessive spaces:
Try this in an Assign activity:
System.Text.RegularExpressions.Regex.Replace(INSERTYOURVARIABLE, “^\s*”, “”)
For more information about Regex - check out my Regex MegaPost which has a working demo you can download - (no replace activities though).