Function asciify

  • Returns a new string with only valid ASCII characters

    Returns

    The ASCII characters in the given string

    Example

    asciify('äÄçÇéÉêPHP-MySQLöÖÐþúÚ')
    // 'PHP-MySQL'

    Parameters

    • s: string

      The string

    Returns string

Generated using TypeDoc