Thread Eindeutige Liste aller Zeichen im String (32 answers)
Opened by roli at 2008-03-11 18:39

Gast Gast
 2008-03-12 21:08
#106988 #106988
#!/usr/bin/perl -w

use strict;

my $in = "abcdee3fgh1234eee";
my $out = "";

$out = join("",sort(split("",$in)));
$out =~ tr/0-9a-zA-Z//s;

print "in : $in\n";
print "out: $out\n";

View full thread Eindeutige Liste aller Zeichen im String