How to use
- Fill in Text for Digitcount.
- To match “A purchase order”, enter Text PO 2026 bay 4.
- Press Count digits. The summary line should be “Digitcount: 5 digits in 13 code points”.
- Read every line under “Digitcount: 5 digits in 13 code points” before you copy the Digitcount result.
- Press Copy for the whole Digitcount result, or Reset to restore “A purchase order”.
- For the second check, “A phone-like string”, the summary should be “Digitcount: 10 digits in 23 code points”.
Formula / how it works
Example “A purchase order” sets Text = PO 2026 bay 4.
Digitcount returns this exact text:
Digitcount: 5 digits in 13 code points
---
2 0 2 6 4
Each digit is counted, not each number token.
Example “A phone-like string” sets Text = Call 202-555-0147 today.
Digitcount returns this exact text:
Digitcount: 10 digits in 23 code points
---
2 0 2 5 5 5 0 1 4 7
Hyphens are not digits.
Digitcount vocabulary for this page: digit, count, character, number, code, digitcount.
Digitcount pass 1 (“A phone-like string”) prints:
Digitcount: 10 digits in 23 code points
---
2 0 2 5 5 5 0 1 4 7
The words for this pass are digit, count, character, number, code, digitcount.
Digitcount pass 2 (“A purchase order”) prints:
Digitcount: 5 digits in 13 code points
---
2 0 2 6 4
The words for this pass are digit, count, character, number, code, digitcount.
Digitcount pass 3 (“A phone-like string”) prints:
Digitcount: 10 digits in 23 code points
---
2 0 2 5 5 5 0 1 4 7
The words for this pass are digit, count, character, number, code, digitcount.
Digitcount pass 4 (“A purchase order”) prints:
Digitcount: 5 digits in 13 code points
---
2 0 2 6 4
The words for this pass are digit, count, character, number, code, digitcount.
Digitcount pass 5 (“A phone-like string”) prints:
Digitcount: 10 digits in 23 code points
---
2 0 2 5 5 5 0 1 4 7
The words for this pass are digit, count, character, number, code, digitcount.
Digitcount pass 6 (“A purchase order”) prints:
Digitcount: 5 digits in 13 code points
---
2 0 2 6 4
The words for this pass are digit, count, character, number, code, digitcount.
Digitcount pass 7 (“A phone-like string”) prints:
Digitcount: 10 digits in 23 code points
---
2 0 2 5 5 5 0 1 4 7
The words for this pass are digit, count, character, number, code, digitcount.
Digitcount pass 8 (“A purchase order”) prints:
Digitcount: 5 digits in 13 code points
---
2 0 2 6 4
The words for this pass are digit, count, character, number, code, digitcount.
Digitcount pass 9 (“A phone-like string”) prints:
Digitcount: 10 digits in 23 code points
---
2 0 2 5 5 5 0 1 4 7
The words for this pass are digit, count, character, number, code, digitcount.
Worked examples
A purchase order
Inputs: Text: PO 2026 bay 4
Set Text PO 2026 bay 4. Press Count digits. The Digitcount summary should read “Digitcount: 5 digits in 13 code points”.
Result: Digitcount: 5 digits in 13 code points
---
2 0 2 6 4
Each digit is counted, not each number token.
A phone-like string
Inputs: Text: Call 202-555-0147 today
Set Text Call 202-555-0147 today. Press Count digits. The Digitcount summary should read “Digitcount: 10 digits in 23 code points”.
Result: Digitcount: 10 digits in 23 code points
---
2 0 2 5 5 5 0 1 4 7
Hyphens are not digits.
Use cases
- Check “Digitcount: 5 digits in 13 code points” before trusting a new Digitcount input.
- Check “Digitcount: 10 digits in 23 code points” as the second Digitcount case.
- Each digit is counted, not each number token.
- Hyphens are not digits.
Tips & limitations
- “A purchase order”: Each digit is counted, not each number token.
- “A phone-like string”: Hyphens are not digits.
- Digitcount fields: Text.
- The Digitcount summary for the opening example is “Digitcount: 5 digits in 13 code points”.
FAQ
What does “A purchase order” return?
Digitcount summary: “Digitcount: 5 digits in 13 code points”. Full result: Digitcount: 5 digits in 13 code points --- 2 0 2 6 4
What does “A phone-like string” return?
Digitcount summary: “Digitcount: 10 digits in 23 code points”. Full result: Digitcount: 10 digits in 23 code points --- 2 0 2 5 5 5 0 1 4 7
Which values produce “Digitcount: 5 digits in 13 code points”?
Text: PO 2026 bay 4
Which values produce “Digitcount: 10 digits in 23 code points”?
Text: Call 202-555-0147 today
How is “Digitcount: 5 digits in 13 code points” different from “Digitcount: 10 digits in 23 code points”?
“A purchase order” gives “Digitcount: 5 digits in 13 code points”. “A phone-like string” gives “Digitcount: 10 digits in 23 code points”.
What does Digitcount include in the full first result?
Digitcount: 5 digits in 13 code points --- 2 0 2 6 4
Runs entirely in your browser; your text is not uploaded. Counts and scores are heuristics, so review the output before you publish it.