theoya has asked for the wisdom of the Perl Monks concerning the following question:
%pos("string", "t") <--returns position of "t", otherwise null value %ismember(@array, "string") <--returns position of "string" if it exi +sts in @array, otherwise returns null value
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Returning position?
by GrandFather (Saint) on Feb 24, 2007 at 10:35 UTC | |
|
Re: Returning position?
by BrowserUk (Patriarch) on Feb 24, 2007 at 11:15 UTC | |
|
Re: Returning position?
by ikegami (Patriarch) on Feb 24, 2007 at 19:27 UTC | |
by Not_a_Number (Prior) on Feb 25, 2007 at 13:48 UTC | |
by ikegami (Patriarch) on Feb 25, 2007 at 09:59 UTC | |
|
Re: Returning position?
by hangon (Deacon) on Feb 26, 2007 at 20:17 UTC | |
|
Re: Returning position?
by Moron (Curate) on Feb 26, 2007 at 16:28 UTC |