@jiminp/tooltool
    Preparing search index...

    Module string

    Type Aliases

    RowCol

    A tuple of [row, col] (0-indexed).

    Variables

    REGEX_SRC_UUID

    Regex source for matching a UUID (8-4-4-4-12 hex format, no anchors).

    REGEX_UUID

    Regex for matching a complete UUID string (case-insensitive, anchored).

    Functions

    chunkText

    Splits text into chunks with a maximum length, preferring to split at separators.

    escapeRegExp

    Escapes special regex characters in a string.

    formatFixedFloat

    Formats an integer as a fixed-point decimal string.

    formatSignedInt

    Formats a number with an explicit sign prefix (+, -, or ± for zero).

    getNextChunkLength

    Calculates the optimal length for the next text chunk.

    getRowCol

    Calculates the row and column of a character index in a string.

    substringAfter

    Returns the substring after the first occurrence of the delimiter.

    substringBefore

    Returns the substring before the first occurrence of the delimiter.

    substringBetween

    Returns the substring between the first start and the first end after it.

    trimIndented

    Trims whitespace from start/end and removes all leading indentation from each line.