Leser: 1
10 Einträge, 1 Seite |
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/perl
use strict;
use warnings;
my $bla = "Name1%09Name2%2509Name3%252509Name4%25252509";
my @array = $bla =~ m/(.+?)%[0-9]*09/g;
foreach(@array) {
print $_."\n";
}
my @array = split /%[0-9]*09/, $bla;
1
2
3
4
5
6
7
my $bla = "Name1%09Name2%2509Name3%252509Name4%25252509";
my @array = split(/\%\d*?09/,$bla);
foreach(@array) {
print $_."\n";
}
=~=~=~=~=~=~=~=~=~=~=~=~=~=~
10 Einträge, 1 Seite |