Description
Split citation by nonempty separator and count all, nonempty, and empty parts separately.
Source-scoped cultural and historical records preserve an edition, naming convention, or local identifier. Literal agreement is useful bookkeeping but does not establish interpretation, authenticity, or authority.
Split citation by nonempty separator and count all, nonempty, and empty parts separately.
When to use this tool
Use Quran Citation Part Count when you need a precise source-token or range consistency check.
How to use the tool and how it works
- Enter citation, separator. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read parts, nonemptyParts, emptyParts. Use the output convention below.
Split citation by nonempty separator and count all, nonempty, and empty parts separately.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| citation | Citation | Required. Text; maximum UTF-16 length 8192. |
| separator | Separator | Required. Text; maximum UTF-16 length 8192. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| parts | Parts | Required. Safe integer. |
| nonemptyParts | Nonempty Parts | Required. Safe integer. |
| emptyParts | Empty Parts | Required. Safe integer. |
{
"input": {
"citation": "2:255",
"separator": ":"
},
"output": {
"parts": 2,
"nonemptyParts": 2,
"emptyParts": 0
}
} Limitations and assumptions
- Empty leading, trailing, or repeated separators contribute parts; the citation format and source are not validated.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
Alternative or Complementary methods
Consult the source edition and relevant community or scholarly guidance before interpreting or reusing the material.
References
Similar or alternative tools
- Hadith Collection Book Report Token
Parse three colon-separated tokens into collection, book, and report using the implemented ASCII letter/digit punctuation grammar.
- Tafsir Quotation Edition Page Span
Count inclusive pages.