$remtok

From Scriptwiki
Revision as of 19:01, 17 October 2005 by Doomie (talk | contribs) (not ready but want to save it)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Removes the Nth matching token from text.

$remtok(text,token,N,C)

Example

echo -ag $remtok(This is a moo test, moo, 1, 32)

This echo's This is a test, as moo is removed from the text.