Description
Compare title with nonempty supplied prefixes, optionally after lowercasing.
Historical and public-register references combine repositories, series, titles and local identifiers. A syntactic token or hierarchy count helps organize records without authenticating the source or establishing a document's historical or legal meaning.
Compare title with nonempty supplied prefixes, optionally after lowercasing.
When to use this tool
Use Multilingual Title Sort Prefix when you need a literal archival or public-register record operation.
How to use the tool and how it works
- Enter title, suppliedPrefixes, caseSensitive. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read matchedPrefix, sortKey. Use the output convention below.
Compare title with nonempty supplied prefixes, optionally after lowercasing. Choose the longest matching original prefix and slice that many characters from the original title.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| title | Title | Required. Text; maximum UTF-16 length 8192. |
| suppliedPrefixes | Supplied Prefixes | Required. Array of text; maximum UTF-16 length 8192; maximum items 256. |
| caseSensitive | Case Sensitive | Required. Boolean. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| matchedPrefix | Matched Prefix | Required. Text; maximum UTF-16 length 8192. |
| sortKey | Sort Key | Required. Text; maximum UTF-16 length 8192. |
{
"input": {
"title": "The Book",
"suppliedPrefixes": [
"The ",
"Le "
],
"caseSensitive": false
},
"output": {
"matchedPrefix": "The ",
"sortKey": "Book"
}
} Limitations and assumptions
- There is no word-boundary or language-aware article rule, and no extra trimming. Case conversion is JavaScript lowercasing, not locale collation; title identity remains unverified.
- 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 repository's catalog and description conventions for identity and interpretation. Preserve original references and resolve language, hierarchy and identifier rules before treating a token match as an authenticated record.
References
Similar or alternative tools
- Eu Celex Sector Prefix Flag
Return its first JavaScript character and exact membership in allowedSectors.
- Public Register Volume Token
Serialize repository, series and volumeToken as a JSON-array source key, and flag volume presence by trimmed nonempty text.