Skip to content

Main content

Marc Indicator Blank Token Tool

Display a MARC indicator blank as # while preserving one permitted nonblank indicator character; no field-specific indicator meaning is inferred.

Loading tool…

Description

Display a space as # and otherwise preserve the indicator, returning blank independently.

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.

Display a space as # and otherwise preserve the indicator, returning blank independently.

When to use this tool

Use Marc Indicator Blank Token when you need one explicit catalog-label parsing or formatting step.

How to use the tool and how it works

  1. Enter indicator. 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 displayToken, blank. Inspect blank before interpreting the associated values.

Require exactly one space, digit, or lowercase ASCII letter. Display a space as # and otherwise preserve the indicator, returning blank independently.1

Input fieldMeaning and unitsAccepted input
indicatorIndicatorRequired. Text; maximum UTF-16 length 8192.
Output fieldInterpretationReturned shape
displayTokenDisplay TokenRequired. Text; maximum UTF-16 length 8192.
blankBlankRequired. Boolean.
json
{
  "input": {
    "indicator": " "
  },
  "output": {
    "displayToken": "#",
    "blank": true
  }
}

Limitations and assumptions

  • The hash is a display placeholder, not the stored indicator; field-specific meaning and a complete MARC record are 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/marc-indicator-blank-token — tool.io

Similar or alternative tools