I need to change the symbol of number nedd to mutiply - inside
For ex:12.34+56.78-56.78
Output should be 12.34-56.78+56.78
I need to change the symbol of number nedd to mutiply - inside
For ex:12.34+56.78-56.78
Output should be 12.34-56.78+56.78
Hi
Hope these steps would help you resolve this
If your input is stored in a string variable named strinput
Then use this in assign activity
Cheers @sruthesanju
I need output as -12.34-56.78+56.78
Hi,
Can you try the following expression?
System.Text.RegularExpressions.Regex.Replace(yourString,"([+-]?)(\d+\.\d*)",Function(m) if (m.Groups(1).Value="-", "+"+m.Groups(2).Value, "-"+m.Groups(2).Value)).TrimStart("+"c)
Regards,