Removed use of intermediate strings + now handles leading zeros + support for locale sensitive string comparison