Strange question? Maybe.
I have a string of characters which are a reading from a temperature probe. The first character is SOH(start of Header) then the next few are teh actual reading with a decimal point in there. ATOI is perfect as I only care about the numbers to the left of the decimal so by function it will stop converting once it sees the '.'
Problem is that my first character is SOH(0x01) which is not an ASCII number of 0 to 9 (0x30...0x39).
IS there a way to tell ATOI to start at location 2 in the string?