How does atoi works in SV?

In reply to sbellock:

Hi sbellock,

Thank you for explaining the implementation of atoi(). I tried to run this code on EDA Playground using both VCS as well as Incisive simulators, but still I got the same outputs. I am still not able to figure out why that particular string (i.e zincronium) is showing the output ‘z’.