Help for this page

Select Code to Download


  1. or download this
    sub beautify {
        my ($in) = @_;
    ...
        $tmp =~ s/\s$//;
        return($tmp);
    }
    
  2. or download this
    use util;
    
    ...
    is( &util::beautify( "üisTheWord"), "Üistheword", "üisTheWord - specia
    +l character changes case." );
    is( &util::beautify( "ÿisTheWord"), "Ÿisthejword", "ÿisTheWord - speci
    +al character changes case." );
    ...
    
  3. or download this
    use utf8;
    use Encode;