TestProject Forum

Is there a way to strip leading zeroes from a number?

I am using the "Remove non numeric characters’ function to retrieve a document number from a string in a log window. The number that is returned from the function is something like ‘0000123456’. Is there a subsequent function available that will allow me to strip the leading zeros from the result?


Hello @keith.sheehan
Try to pass this parameter into Evaluate Mathematical Expression action

Please let me know if it works for you.

That worked exactly as I had hoped. Thank you!