Escape |
|
1.Escape - Name of the Macro.
2.Target - platform where the string escape is targeted. Valid values are XML, XMLAttribute, HTML, HTMLAttribute, C#, and both the ' (Single Quote), and " (Double Quote) characters.
3.Expression - A macro expression that will be escaped.
•': Replaces each single quote with two single quote characters. Ideal for use with SQL Server character types and PowerShell literal strings.
•": Replaces each double quote with two double quote characters. Ideal for use with PowerShell expansion strings and Visual Basic language.
•C#: Escapes backslash characters and double quote characters. Ideal for use in C# language snippets.
•HTML: Escapes the ampersand (&), single and double quotes (' and "), and both angle brackets (< and >) and character entity references with HTML specific coding. Ideal for HTML raw element content.
•HTMLAttribute: Escapes the ampersand (&), double quote ("), and left angle bracket (<) with HTML specific coding. Ideal for HTML attributes.
•XML: Escapes the ampersand (&), single and double quotes (' and "), and both angle brackets (< and >) with XML specific coding. Ideal for XML raw element content.
•XMLAttribute: Escapes the ampersand (&), double quote ("), and left angle bracket (<) with XML specific coding. Ideal for XML attributes.
Copyright © 2024 pasUNITY, Inc.
Send comments on this topic.
Created with an evaluation copy of HelpSmith.
To remove this notice, you should purchase the full version of the product.