Converts given string to long.
string to convert.
The long value of str on success, 0 on failure.
See Implementation
Converts given string to long.