Metacharacters in Character Literals

Metacharacters in Character Literals

Welcome to our Knowledge Base

Documentation | Blog | Demos | Support

< All Topics
Print

Metacharacters in Character Literals

Certain characters, such as quotation marks and the backslash, have special functions in the software. If you need to use one of these metacharacters as a literal character in a string, you must “escape” the special function by inserting a backslash ( – Escape) preceding the metacharacter as shown in the following example:

‘This is a quotation mark (‘).’
‘This is a backslash (\).’

Any character string containing a metacharacter used as a literal must be enclosed in quotation marks.

Was this article helpful?
0 out of 5 stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
5
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.

Deixe um comentário

O seu endereço de e-mail não será publicado. Campos obrigatórios são marcados com *

pt_BRPortuguese