Description
Check token.startsWith literally and return the remaining suffix on a match, otherwise an empty string.
Homeopathic labels use source-dependent stage, scale, and preparation notation. Recognizing a token or mapping its index records a formal convention; it does not verify how a product was made or what it contains.
Check token.startsWith literally and return the remaining suffix on a match, otherwise an empty string.
When to use this tool
Use Public Potency Label Prefix Token when you need to parse or compare an explicitly supplied notation convention.
How to use the tool and how it works
- Enter token, suppliedPrefix. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read prefixMatches, suffix. Inspect prefixMatches before interpreting the associated values.
Require nonempty suppliedPrefix. Check token.startsWith literally and return the remaining suffix on a match, otherwise an empty string.1
Homeopathic notation does not establish treatment efficacy.2
| Input field | Meaning and units | Accepted input |
|---|---|---|
| token | Text in the explicitly supported lexical grammar. | Required. Text; maximum UTF-16 length 8192. |
| suppliedPrefix | Supplied Prefix | Required. Text; maximum UTF-16 length 8192. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| prefixMatches | Prefix Matches | Required. Boolean. |
| suffix | Suffix | Required. Text; maximum UTF-16 length 8192. |
{
"input": {
"token": "src:12C",
"suppliedPrefix": "src:"
},
"output": {
"prefixMatches": true,
"suffix": "12C"
}
} Limitations and assumptions
- This is a prefix check without full potency parsing, numerical interpretation, source verification, or evidence of therapeutic effect.
- 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
Retain the original source and distinguish label interpretation from chemical analysis and evidence of treatment effects.
References
-
Calculation and input contract: homeopathy/public-potency-label-prefix-token — tool.io
-
Homeopathy: What You Need To Know — National Center for Complementary and Integrative Health
Similar or alternative tools
- Homeopathy Historical Potency Notation Source
Parse a positive integer stage without leading zeros followed by uppercase C or X.
- Potency Label Succussion Token
Test substring presence and return every nonempty supplied scale token occurring as a substring of label.