Showing how to use CollectDigit function terminating on term-digit or max-digits