Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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 chilling in the Monastery: (10)
As of 2015-07-07 08:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (87 votes), past polls