Skip to content

Main content

Serial Enumeration Supplement Index Tool

Read one explicit serial supplement suffix without assuming a cataloguing standard.

Loading tool…

Description

Split at the final occurrence of nonempty prefix and parse a positive supplement index 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 at the final occurrence of nonempty prefix and parse a positive supplement index without leading zero.

When to use this tool

Use Serial Enumeration Supplement Index when you need one explicit catalog-label parsing or formatting step.

How to use the tool and how it works

  1. Enter token, prefix. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read mainEnumeration, supplementIndex, hasSupplement. Inspect hasSupplement before interpreting the associated values.

Split at the final occurrence of nonempty prefix and parse a positive supplement index without leading zero. If absent, preserve token with index zero and hasSupplement false.1

Input fieldMeaning and unitsAccepted input
tokenTokenRequired. Text; maximum UTF-16 length 8192.
prefixPrefixRequired. Text; maximum UTF-16 length 8192.
Output fieldInterpretationReturned shape
mainEnumerationMain EnumerationRequired. Text; maximum UTF-16 length 8192.
supplementIndexSupplement IndexRequired. Safe integer.
hasSupplementHas SupplementRequired. Boolean.
json
{
  "input": {
    "token": "12-S2",
    "prefix": "-S"
  },
  "output": {
    "mainEnumeration": "12",
    "supplementIndex": 2,
    "hasSupplement": true
  }
}

Limitations and assumptions

  • Zero is an absence sentinel; the prefix may occur anywhere and the main enumeration is 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 cataloging scheme and source record before assigning semantic meaning or a filing order.

References

  1. Calculation and input contract: library-science/serial-enumeration-supplement-index — tool.io

Similar or alternative tools

  • Item Copy Suffix Index

    Split label at the final nonempty separator, requiring a nonempty base and a positive decimal suffix without leading zero.

  • Issue Combination Two Number Label

    Require positive first and a strictly larger second, join them with separator, and mark consecutive only when second equals first + 1.