note: position-counting starts with zero ...print index(join("",@input),$char);
Update Seems the example given by the OP led me to a too simplified solution. Thanks for spotting the limitations, LanX
In reply to Re: Get Position of Element in an array
by Ratazong
in thread Get Position of Element in an array
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |