Segmentation extension

Identifier expansion and word extraction from structured text.

on

Methods

asWords() → String

Available on String, provided by the Segmentation extension

Extracts words from the string, preserving hyphenated compounds.
expandFunctionName() → String

Available on String, provided by the Segmentation extension

Expands a compacted identifier into human-readable words.
toHeading() → String

Available on String, provided by the Segmentation extension

Formats the string as a heading with proper capitalisation and spacing.
toParagraph() → String

Available on String, provided by the Segmentation extension

Formats the string as a paragraph with proper spacing and punctuation.