CTAN Comprehensive TeX Archive Network

New CTAN package: tokenizer

Date: May 22, 2003 10:22:22 PM CEST
A new package has been installed at tug.ctan.org and should make its way, via the miracle of automatic mirroring, to your favorite local mirror. Thanks for the upload, Jim Hefferon ftpmaint at tug.ctan.org ==================================================================== The following information was provided by our fellow contributor. Name of contribution: tokenizer Author's name: Sascha Herpers Location on CTAN: macros/latex/contrib/tokenizer Summary description: Package for tokenizing comma separated lists of strings. License type: lppl Announcement text given by the contribution's author: - - ---------------------------------------------------------------------- This package provides a rather small command, which splits a comma separated list of strings into two tokens at the first encounter of a comma. Each token is saved to a arbitrarily named command. - - ----------------------------------------------------------------------

tokenizer – A tokenizer

A tokenizer for . \GetTokens{Target1}{Target2}{Source} splits source into two tokens at the first encounter of a comma. The first token is saved in a newly created command with the name passed as <Target1> and the second token likewise. A package option ‘trim’ causes leading and trailing space to be removed from each token; with this option, the \TrimSpaces command is defined, which removes leading and trailing spaces from its argument.

MaintainerSascha Herpers



Guest Book Sitemap Contact Contact Author