Options for the translation operator. : translation « Regular Expression « Perl






Options for the translation operator.

    

Option       Description 
c            Translate all characters not specified 
d            Delete all specified characters 
s            Replace multiple identical output characters with a single character 

   
    
    
    
  








Related examples in the same category

1.Swap the first two words in a string
2.Introducing the translation operator
3.Occurences of planet were changed to world