Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

special charecters in a string

Status
Not open for further replies.

jslmvl

Vendor
Jan 26, 2008
268
GB
Hi,

Can you tell me how to include some special charecters in a string in ASP code? For example '<%' and '%>' and some other special charecters.

Thank you in advance.
 
Do it as separate characters

eg "<" & "%"

If it is something like a degree symbol, you can use chr

eg x = chr(176)

If it is a wide character use wchr. For instance 1 in Chinese

x = wchr (19968)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top