Skip to content

Main content

Shelfmark Cutter Part Tool

Extract the first uppercase letter plus one-to-six-digit Cutter-shaped token at an explicit shelfmark token boundary; no classification schedule is consulted.

Loading tool…

Description

Find the first uppercase ASCII letter followed by 1-6 digits delimited on each side by start/end, whitespace, or a period, and return that matched cutter.

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.

Find the first uppercase ASCII letter followed by 1-6 digits delimited on each side by start/end, whitespace, or a period, and return that matched cutter.

When to use this tool

Use Shelfmark Cutter Part when you need one explicit catalog-label parsing or formatting step.

How to use the tool and how it works

  1. Enter shelfmark. 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 cutter. Use the output convention below.

Find the first uppercase ASCII letter followed by 1-6 digits delimited on each side by start/end, whitespace, or a period, and return that matched cutter.1

Input fieldMeaning and unitsAccepted input
shelfmarkShelfmarkRequired. Text; maximum UTF-16 length 8192.
Output fieldInterpretationReturned shape
cutterCutterRequired. Text; maximum UTF-16 length 8192.
json
{
  "input": {
    "shelfmark": "QA76.73 .J38 2020"
  },
  "output": {
    "cutter": "J38"
  }
}

Limitations and assumptions

  • This is a narrow pattern search rather than a full Cutter or shelfmark parser; later candidates and classification rules are not assessed.
  • 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/shelfmark-cutter-part — tool.io

Similar or alternative tools

  • Library Copy Suffix Label

    Require nonempty shelfmark and positive copyNumber, then append c.copyNumber for label.

  • Sudoc Class Stem Single Token

    Find the first colon after a nonempty stem and require that stem to start uppercase with only the implemented letters, digits, spaces, periods, slashes, and hyphens.