Description
Split label at the final nonempty separator, requiring a nonempty base and a positive decimal suffix without leading zero.
Catalog identifiers and labels follow local formatting conventions. Splitting or recognizing a token's shape preserves structure without establishing that its identifier or classification is valid.
Split label at the final nonempty separator, requiring a nonempty base and a positive decimal suffix without leading zero.
When to use this tool
Use Item Copy Suffix Index when you need one explicit catalog-label parsing or formatting step.
How to use the tool and how it works
- Enter label, separator. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read base, copyIndex. Use the output convention below.
Split label at the final nonempty separator, requiring a nonempty base and a positive decimal suffix without leading zero. Return base and numeric copyIndex.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| label | Label | Required. Text; maximum UTF-16 length 8192. |
| separator | Separator | Required. Text; maximum UTF-16 length 8192. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| base | Numeric base or source quantity interpreted under the specific calculation above. | Required. Text; maximum UTF-16 length 8192. |
| copyIndex | Copy Index | Required. Safe integer. |
{
"input": {
"label": "BOOK/c3",
"separator": "/c"
},
"output": {
"base": "BOOK",
"copyIndex": 3
}
} Limitations and assumptions
- This is a caller-defined label convention, not accession identity or a complete catalog identifier validator.
- 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 cataloging scheme and source record before assigning semantic meaning or a filing order.
References
Similar or alternative tools
- Serial Enumeration Supplement Index
Split at the final occurrence of nonempty prefix and parse a positive supplement index without leading zero.
- Accession Number Year Sequence Split
Return the numeric year and unchanged sequence text.