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
- Enter indicator. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- 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 field | Meaning and units | Accepted input |
|---|---|---|
| indicator | Indicator | Required. Text; maximum UTF-16 length 8192. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| displayToken | Display Token | Required. Text; maximum UTF-16 length 8192. |
| blank | Blank | Required. Boolean. |
{
"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
Similar or alternative tools
- Marc Sub Field Code Split
Return that one-character code and all remaining text as value.
- List Empty Sentinel Label
Parse itemsJson as a JSON array, count its entries, and label empty-list or nonempty-list.