Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the escape sequence for & in string literals in web.config?

Tags:

asp.net

What is the escape sequence for &-sign in string literals in web.config?

like image 375
sly_Chandan Avatar asked Feb 02 '11 11:02

sly_Chandan


People also ask

What is the purpose of escape sequence?

Escape sequences They are primarily used to put nonprintable characters in character and string literals. For example, you can use escape sequences to put such characters as tab, carriage return, and backspace into an output stream.

What is the meaning of '\ n escape sequence?

An escape sequence in C language is a sequence of characters that doesn't represent itself when used inside string literal or character. It is composed of two or more characters starting with backslash \. For example: \n represents new line.

What is the purpose of escape sequence in Java?

Escape sequences are used to signal an alternative interpretation of a series of characters. In Java, a character preceded by a backslash (\) is an escape sequence. The Java compiler takes an escape sequence as one single character that has a special meaning.


1 Answers

& -> &

here: What characters do I need to escape in XML documents?

like image 78
shahkalpesh Avatar answered Oct 11 '22 16:10

shahkalpesh