QuoteRegExprMetaChars

Substitutes in a specified string metasymbols with their safe performance

Syntax

function QuoteRegExprMetaChars(aStr: string): string;

Parameters

  • aStr
    • type: string
    • functions: source string

Returned value

  • type: string
  • functions: resulting string

Examples

  1. Log(QuoteRegExprMetaChars('abc$cd.(');
    //abc\$cd\.\(