Escape sequences in strings. : Escape « String « Perl






Escape sequences in strings.

   
Escape Sequence             Description 
\a                          Bell (beep) 
\b                          Backspace 
\cn                         The Ctrl+n character 
\e                          Escape 
\E                          Ends the effect of \L, \U or \Q 
\f                          Form feed 
\l                          Forces the next letter into lowercase 
\L                          All following letters are lowercase 
\n                          Newline 
\r                          Carriage return 
\Q                          Do not look for special pattern characters 
\t                          Tab 
\u                          Force next letter into uppercase 
\U                          All following letters are uppercase 
\v                          Vertical tab 

   
    
    
  








Related examples in the same category

1.Escape character
2.Escape sequences and single/double quotes
3.Print Escape Sequences
4.Output tab sign
5.\t = tab, \n = newline, \\ = backslash
6.Use tabs in print function
7.Backslash Escapes in Perl
8.Add new line character to string
9.Text Formatting