Description
Return suffix's zero-based index and recognized, using -1 when absent.
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.
Return suffix's zero-based index and recognized, using -1 when absent.
When to use this tool
Use Quran Verse Suffix Order Token when you need a precise source-token or range consistency check.
How to use the tool and how it works
- Enter verse, suffix, suppliedSuffixOrder. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read verse, suffixIndex, recognized. Inspect recognized before interpreting the associated values.
Require positive verse and a duplicate-free suppliedSuffixOrder. Return suffix's zero-based index and recognized, using -1 when absent.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| verse | Verse | Required. Safe integer; minimum 1. |
| suffix | Suffix | Required. Text; maximum UTF-16 length 8192. |
| suppliedSuffixOrder | Supplied Suffix Order | Required. Array of text; maximum UTF-16 length 8192; maximum items 256. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| verse | Verse | Required. Safe integer. |
| suffixIndex | Suffix Index | Required. Safe integer. |
| recognized | Whether the exact token occurs in the supplied vocabulary. | Required. Boolean. |
{
"input": {
"verse": 7,
"suffix": "b",
"suppliedSuffixOrder": [
"",
"a",
"b"
]
},
"output": {
"verse": 7,
"suffixIndex": 2,
"recognized": true
}
} Limitations and assumptions
- The suffix order is caller defined; no edition, verse boundary, or textual interpretation is inferred.
- 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.
- Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.
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
- Quran Surah Ayah Range Parser
Parse positive surah:ayah or surah:first-last syntax without leading zeros.
- Arabic Manuscript Juz Hizb Source Index
Map juz 1-30 and hizbWithinJuz 1-2 into a one-based hizbIndex.