View/Edit #4342:strip_* get_*

Switch to edit mode.

Name(s): strip_* get_*
1:  "Copied from $eve_ansi (#7117):strip_bla by Eve (#2633)Oct  2 23:17:03 1998"
2:  "Copied from ANSI utils (#4342):strip_codes_fast by Cecil (#7407)Sep 25 22:24:53 1998"
3:  "Modified by Eve."
4:  get = verb[1..3] == "get"
5:  if (!((verb = verb[get ? 5 | 7..$]) in {"all", "colors", "other"}))
6:    return E_VERBNF
7:  elseif (get)
8:    return this.("codes_" + verb)
9:  endif
10: for x in (this.("codes_" + verb))
11:   args[1] = strsub(args[1], x, "")
12: endfor
13: return args[1]

Verb arguments: this none this
Verb perms: Readable eXecutable NOT-Debug
Verb owned by: Janette (#2633)

You are not logged in.

[home | help | who | search | setup | code]