Remove $ sign from data scraped variable

Hi,

I’ve data scraped invoice amount from a PDF and treated it as an output variable.

However the output value always included a prefixed sign. How can I ensure that the sign is dropped off. e.g data scraped value is $100 and I want to retain 100.

Regards,

Jeff

use can use Split(PDFvariable.tostring,“$”) or you can use “Split string” activity in Expressions

Hi @JeffNZ

Try this

split(Stored_PDF_Variable,"$")(1).ToString

Thanks

Hi @JeffNZ,
You may want to use str.Replace("$", “”) :slight_smile:

2 Likes