Function concealMiddlePart

  • In the middle of the anonymized text, the first and last text will still be displayed. e.g. "12345678" -> "12****78"

    Parameters

    • text: string

    Returns string