How Insert a String in Middle of the String?

Hello Guys,

I’m trying to insert a string in the middle of the original string next after a Numeric, I have checked other existing threads but have not found the actual answer. Could anyone please help on this?

Thanks in advance!!

after 0 or a number 100 or 1000 I need insert amount

String - “$0 not covered”
Excepted Output - “”$0 amount not covered"

Regex replace can help

in UiPath:
System.Text.RegularExpressions.Regex.Replace(YourStringVar, "(\$\d+)", "$1 Amount")

1 Like

Thank You!!

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.