get a number from string

J-M-L:
really? :frowning:

No chance this evens compile...

but that is the idea though, look for ‘e’ in the buffer using correctly strchr(), if it’s not the null pointer then use atoi() to get the value from the next char using atoi() or atol()

strchr(MyStr,'e')

Your right sorry should have has the character string as first variable. Thanks for the catch.