A few methods for working with string representations of integers