About us Privacy Disclaimer Contact us
FAQ Help Advertising Feedback
Home Sitemap Search Donate us

  Home > Computer & I'net > Escape Code...

   Browse by title articles:
   What is hot:

Escape Code

Script Linking

Search & Replace

Print

Arrays

Common Operators

Exploding and Imploding
How to Build a List Using CGI
Newsgroup Security Tips
Complete List of HTML Entity Escape Characters
Prev articles1 2 3456Next articles



Escape Code


Computer & I'net articlesEscape Code

by David Stanley    



The concept of PERL escape code is the same as HTML escape code. It is a way to enter a specific feature or character "outside" of the normal coding (usually to appear on the web page itself).

For example... to show double quotes on the web page :

Regular document HTML Escape PERL Escape
" " "

Quick examples :
Coding input : "Hello 'World'"
"Hello '"World""
Page output : Hello 'World'
Hello "World"

Common escape sequences :
a Beep
 Backspace
c "Control" caracter. cD = CTRL-D
e Escape
f Form feed
l Make the next letter lowercase
New line, return.
Carriage return.
Tab.
u Make the next letter uppercase
x Enables hex numbers
v Vertical tab
\ Print backslash
" Print double quotes
Escape next character if known otherwise print. Also allows octal numbers.
L Make all letters lowercase until the E
U Make all letters uppercase until the E
Q Add a backslash-quote to all the nonalphanumerics until the E
E Terminates the effects of L, U, or Q

The TAB and NEW LINE escapes are the most commonly used.




-----------------

Article by David Stanley. Visit his site http://www.htmlite.com. Reprinted with permission.






Articles

Auto & Trucks

Business

Computer & I'net

  ·General

  ·Apache

  ·CSS

  ·Database

  ·Hardware

  ·HTML

  ·Javascript&DHTML

  ·Linux

  ·MySQL

  ·Operating System

Perl / CGI

  ·PHP

  ·Programming

  ·Publishing

  ·Search Engines

  ·Software Problems

  ·SSI

  ·Tips & Tricks

  ·Utilities

  ·Web Design

Family

Food & Drink

Gardening

Health

Other

Pets

Psychology

Spiritual

Travel

Women

 Calculators

Marketing calculator




  Disclaimer | Privacy | Terms of useCopyright © 2004 Nice2know.com