More methods for strings and numbers