Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

How to reverse a (Unicode) string

by moritz (Cardinal)
on Jan 09, 2008 at 21:24 UTC ( #661510=perltutorial: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use strict;
    use warnings;
    
    print scalar reverse "\nošu";
    
  2. or download this
    #!/usr/bin/perl
    use strict;
    ...
    print scalar reverse "\nošu";
    __END__
    ušo
    
  3. or download this
    #!/usr/bin/perl
    use strict;
    ...
    \N[LATIN CAPITAL LETTER A]\N[COMBINING DIAERESIS]
    \N[COMBINING DIAERESIS]\N[LATIN CAPITAL LETTER A]
    ÷A
    
  4. or download this
    #!/usr/bin/perl
    use strict;
    ...
    \N[LATIN CAPITAL LETTER A]\N[COMBINING DIAERESIS]\N[LATIN CAPITAL LETT
    +ER O]
    \N[LATIN CAPITAL LETTER O]\N[LATIN CAPITAL LETTER A]\N[COMBINING DIAER
    +ESIS]
    Oń
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perltutorial [id://661510]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2016-10-01 23:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?






    Results (9 votes). Check out past polls.