Daniel Falkenberg wrote:
>
> Hey all,
Hello,
> $card_no = "1234567901234567" # 16 digit number
>
> How would I go about splitting that number into an array?
$ perl -le '$card_no = "1234567901234567";
@array = split //, $card_no;
print "@array";
@array = $card_no =~ /./g;
print "@array";
@arr
@array = split("", $card_no);
Tor.
Daniel Falkenberg wrote:
>
> Hey all,
>
> $card_no = "1234567901234567" # 16 digit number
>
> How would I go about splitting that number into an array?
>
> Regards,
>
> Dan
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-m
Hi,
perl -e '$r="123456789012345"; @Re=split(//,$r); print join ("|",@Re);'
HTH,
-tir
>
Ol=10 Apr 2002, Daniel Falkenberg wrote:
>t(//,$r); print join ("|",@Re);'
> Hey all,
>
> $card_no = "1234567901234567" # 16 digit number
>
> How would I go about splitting that number into an
Hey all,
$card_no = "1234567901234567" # 16 digit number
How would I go about splitting that number into an array?
Regards,
Dan
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]