PreviousUpNext

5.5.41  Break a string into whitespace-separated words

Break a string into whitespace-separated words:

    eval:  words "the quick brown fox";
    ["the", "quick", "brown", "fox"]

Same, using an abbreviated syntax (dot__qquotes):

    eval:  ."the quick brown fox";
    ["the", "quick", "brown", "fox"]

Ditto, a bit more laboriously:

    eval:  tokens char::is_space "the quick brown fox";
    ["the", "quick", "brown", "fox"]

Comments and suggestions to: bugs@mythryl.org

PreviousUpNext