findw

Synopsis:
$findw(<word> <word list>)

Technical:
This function searches for and returns the place it was found. If isn't in , -1 is returned.

Practical:
This function should put many scripters to ease, as it has been written into many scripts :)

Returns:
index to <word> in <word list>

Examples:
$findw(very TekNap is a very scriptable client) /* returns 3 */

assign test blah hmm foo bar
eval echo $word($findw(hmm $test) $test) /* returns "hmm" */

See Also:
word

 

Back

Hosted by www.Geocities.ws

1