%deftok currently accepts a macro name for the target as well as a string to convert. I would like it to accept more parameters to specify which tokens should be used, similar to the parameters to %substr. %deftok with only two parameters would work like the current %deftok then. This should include a directive like %strlen to %substr named, for example, %toknum, that assigns the number of tokens in the input string to a single-line macro.
Log in to post a comment.