Moved string and number functions out of NSObject category to keep it from getting too large.