linXiv frontend (TS/JS)
    Preparing search index...

    Function foldCase

    • Per-char lowercase that never changes string length, so offsets found in the folded text are valid in the original. The rare chars whose lowercase grows (e.g. "İ") are left as-is instead.

      Parameters

      • s: string

      Returns string