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 "\nou";
    
  2. or download this
    #!/usr/bin/perl
    use strict;
    ...
    print scalar reverse "\nou";
    __END__
    uo
    
  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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2017-08-22 11:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Who is your favorite scientist and why?



























    Results (333 votes). Check out past polls.

    Notices?