Function applyCaseMask

    • Apply a case mask to target, position by position. Mask positions beyond target.length are ignored; target positions beyond the mask keep their native case (e.g. user appended a longer word).

      Parameters

      • target: string
      • mask: string

      Returns string