CTAN Comprehensive TeX Archive Network

tug.ctan.org upload: xstring

Date: July 7, 2008 8:50:24 AM CEST
This package has been installed at tug.ctan.org and should soon be at your favorite mirror. Thank you again, Jim Hefferon Saint Michael's College ........................................................................... The following information was provided by our fellow contributor: Name of contribution: xstring Author's name: Christian Telllechea Location on CTAN: /macros/latex/contrib/xstring Summary description: manipulation of strings License type: lppl Announcement text:
This package provides macros manipulating strings, such as: * tests: - does a string contains at least n times an another? - does a string starts (or ends) with another? etc. * extractions of substrings: - what is on the left (or the right) of the nth occurrence of a substring; - what is between the occurrences of 2 substrings; - substring between 2 positions, etc. * substitution of all (or the n first) occurrences of a substring for an other substring; * calculation of numbers: - length of a string; - position of the nth occurrence of a substring; - how many times a string contains a substring? For programming purposes, other macros allow to use special characters (& ~ \ { } _ # $ ^ %) with the macros manipulating strings.
This package is located at http://tug.ctan.org/tex-archive/macros/latex/contrib/xstring . More information is at http://tug.ctan.org/pkg/xstring (if the package is new it may take a day for that information to appear). We are supported by the TeX Users Group http://www.tug.org . Please join a users group; see http://www.tug.org/usergroups.html .

xstring – String manipulation for

The package provides macros for manipulating strings — testing a string’s contents, extracting substrings, substitution of substrings and providing numbers such as string length, position of, or number of recurrences of, a substring.

The package works equally in Plain and (though e- is always required). The strings to be processed may contain (expandable) macros.

Packagexstring
Version1.86
Copyright2008–2023 Christian Tellechea
MaintainerChristian Tellechea

Announcements

more

Guest Book Sitemap Contact Contact Author