ScriptCore3.QuoteRegExprMetaChars

From Soldat Community Wiki
Jump to: navigation, search
function QuoteRegExprMetaChars(const AStr: string): string
 AStr: source string
 Result: AStr with safe representation

Description

Replace all metachars with its safe representation.

Examples

abc$cd.( --> abc\$cd\.\(