Can only check the first 512 characters if string responds to []