How to get number from string regardless the number of digits

Hi all,

how to get number from string regardless the number of digits :

For example : “00597” or “0597”

I want to get “597”.

Thanks

Hi @Suastrian_Dika

Try this

Inputt.TrimStart("0"c)

Hope this helps!!

1 Like

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