substr.sty This package provides commands to deal with substrings in strings: Determine if a string contains a substring, count appearances of a substring in a string. The Description of the commands can be found in the file substr.sty. History of this package: The package arises from a posting of me in the newsgroup de.comp.text.tex in which I asked how to find out if a substring is included in a string. Heiko Oberdiek <firstname.lastname@example.org> posted the commands \IfSubStringInString and \IfCharInString and suggested to write a command which counts the appearances in a string. So, I wrote the commands \CountSubStrings and \setcountertoSubStrings. After I wrote this package I sent it to Heiko Oberdiek who improved and rewrote many parts of it. Copyright 2000, 2005, 2009 Harald Harders This program can be redistributed and/or modified under the terms of the LaTeX Project Public License Distributed from CTAN archives in directory macros/latex/base/lppl.txt; either version 1 of the License, or any later version. 2009-10-20 Harald Harders email@example.com
Download the complete contents of this directory in one zip archive (19.5k).
substr – Deal with substrings in strings
The substr package provides commands to deal with substrings of strings. Macros are provided to: – determine if one string is a substring of another, – return the parts of a string before or after a substring and – count the number of occurrences of a substring.
|License||The LaTeX Project Public License 1|
|Copyright||2000,2005,2009 Harald Harders|
|Contained in||TeXLive as substr|
|MiKTeX as substr|
support for development of TeX macros|