Take a substring and convert to number and Print in Excel

image
Here, I want to take a substring from the column rate except for the percentage sign, e.g 1.05

I want it also in number format. Whenever I am trying to print the result in debug mode using writeline activity. This is the output I am getting.
image

Can anyone show me a pseudocode or a exemplary workflow design for this?

@Tanzill_Ahsan - you can try with a string replace ```
expectedString= actualString.replace(“$”, “”);

1 Like

@Tanzill_Ahsan

Use the code shown in the screenshot
you will get your desired output
image

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