Skip to content

Main content

Chapter Opening Repeat Flag

Compare two explicitly supplied chapter-opening strings literally or with Unicode default lowercasing, without normalizing punctuation or whitespace.

Loading tool…

Description

Compare supplied chapter openings under an optional lowercase policy.

Writing records can represent speakers, scenes, aliases, rhyme labels and revision spans. These representations preserve selected conventions: a character count needs an indexing unit, an alias can be active over an inclusive period, and a stage-direction wrapper is a string pattern rather than a grammar. Mechanical labels do not evaluate literary quality or establish authorship.

Compare supplied chapter openings under an optional lowercase policy.

When to use this tool

Use Chapter Opening Repeat Flag when you already have previousOpening, currentOpening, ignoreCase and need to compare supplied chapter openings under an optional lowercase policy.

How to use the tool and how it works

  1. Enter previousOpening, currentOpening, ignoreCase. 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 repeated. Inspect repeated before interpreting the associated values.

Compare exact strings or their JavaScript lowercase forms when ignoreCase=true.1

Input fieldMeaning and unitsAccepted input
previousOpeningPrevious OpeningRequired. Text; maximum UTF-16 length 8192.
currentOpeningCurrent OpeningRequired. Text; maximum UTF-16 length 8192.
ignoreCaseIgnore CaseRequired. Boolean.
Output fieldInterpretationReturned shape
repeatedRepeatedRequired. Boolean.
json
{
  "input": {
    "previousOpening": "Once upon a time",
    "currentOpening": "Once upon a time",
    "ignoreCase": false
  },
  "output": {
    "repeated": true
  }
}

Limitations and assumptions

  • Empty openings are accepted and whitespace is preserved. This checks exact wording only, not similarity, style, quality or manuscript context.
  • 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

Inspect the full passage, draft history and editorial style when interpreting the result. Use complete text or narrative analysis for meaning and structure; local markers, offsets and supplied attribution records only organize the stated information.

References

  1. Calculation and input contract: creative-writing/chapter-opening-repeat-flag — tool.io

Similar or alternative tools