Description
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.
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 colon after a nonempty stem and require that stem to start uppercase with only the implemented letters, digits, spaces, periods, slashes, and hyphens.
When to use this tool
Use Sudoc Class Stem Single Token when you need one explicit catalog-label parsing or formatting step.
How to use the tool and how it works
- Enter classNumber. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read stem. Use the output convention below.
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. Return stem.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| classNumber | Class Number | Required. Text; maximum UTF-16 length 8192. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| stem | Stem | Required. Text; maximum UTF-16 length 8192. |
{
"input": {
"classNumber": "Y 4.G 74/7:112-3"
},
"output": {
"stem": "Y 4.G 74/7"
}
} Limitations and assumptions
- Text after the colon is not validated; the stem shape is not proof of an assigned SuDoc class, agency identity, or complete class number.
- 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
- Shelfmark Cutter Part
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.
- American Archive Record Group Number Token
Require nonempty repository and positive recordGroup and format repository RG number.