Member Junction
    Preparing search index...

    Function SanitizeVerificationName

    • Sanitises a display name: collapses whitespace, strips control characters and the characters that could shape markup or a header (<, >, "), and caps the length. The result is for display only — it is still HTML-escaped wherever it is rendered.

      Parameters

      • raw: string

      Returns string

      the cleaned name, or null when nothing usable is left