Method code for $command_lib.break_wildcards()

[Turn on line numbering]
arg str;
var out, i, s;

out = [];
while ((i = "*" in str)) {
    out += [substr(str, 1, i - 1), ""];
    str = str.subrange(i + 1);
}
if (str)
    out += [str];
return out;

// Created 27-Mar-1995 as a part of ColdCore, see: @help Credit

Tlon