now sinse i have all the numbers, i'd like to loop through the char array and print out only the non numberic characters. using replace would do the job but that seems like going the long way ?$str = 'xxia5ujcjzbgdiaknqybacf1uhm?6nd9q0icmjloztk?k@i3d@6b'; my @numbers = $str =~ /(\d+)/g; #grab all numbers my @chars=split(//,$str); #convert to char array
In reply to simple question by sweepy838
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |