Add new line character to string : Escape « String « Perl






Add new line character to string

    

#!C:\perl\bin

print "\n\nPerl Fast and Easy Web Development!\n\n";
print "\tPerl Fast and Easy Web Development!\n\n";

   
    
    
    
  








Related examples in the same category

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