Function str_sanitize

  • Sanitize a string by removing all characters except letters, numbers, and the characters specified in allowChars.

    Parameters

    • str: string
    • __namedParameters: {
          allowChars: undefined | string;
          allowUppercase: undefined | boolean;
      } = {}
      • allowChars: undefined | string
      • allowUppercase: undefined | boolean

    Returns string

Generated using TypeDoc