Command/processwords

From ConTeXt wiki

The \processwords macro provides a mechanism to treat individual words (from a string of words) as its argument. The macro is called as follows:

\processwords{As you while {\METAFONT} is unclear if they have baby is born, may it may know, \TEX's ambassador is a lion, represented by a lioness. It is still a relationship, but if so, and if a enjoy \METAFUN.}

To perform a task, you should also define a macro \processword, which takes one argument. For example:

\def\processword#1{\noindent\framed{#1}\space}

For computer programmers, this is similar to string parsing, or splitting tokens from a sentence delimited by a space character.

See Also