Directory tex-archive/macros/latex/contrib/substr
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 <oberdiek@ruf.uni-freiburg.de> 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 h.harders@tu-bs.de
Files
| Name | Size | Date | Notes |
|---|---|---|---|
ChangeLog |
214 | 2009-10-20 09:13:35 | |
README |
1089 | 2009-10-20 09:14:23 | |
substr.sty |
5724 | 2009-10-20 09:14:03 | |
testsubstr.pdf |
18413 | 2009-10-20 09:15:40 | |
testsubstr.tex |
1607 | 2009-10-20 09:11:54 |
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.
| Documentation |
Readme |
| Version | 1.2 |
| License | The LaTeX Project Public License 1 |
| Copyright | 2000,2005,2009 Harald Harders |
| Maintainer | Harald Harders |
| Contained in | TeXLive as substr |
| MiKTeX as substr | |
| Topics |
support for development of TeX macros |
