Menu
CTAN
Comprehensive TeX Archive Network
Home Upload Browse

Direc­tory 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

Down­load the con­tents of this pack­age in one zip archive (19.5k).

sub­str – Deal with sub­strings in strings

The pack­age pro­vides com­mands to deal with sub­strings of strings. Macros are pro­vided to:

  • de­ter­mine if one string is a sub­string of an­other,
  • re­turn the parts of a string be­fore or af­ter a sub­string, and
  • count the num­ber of oc­cur­rences of a sub­string.

Doc­u­men­ta­tion
Ver­sion1.2
Li­censeThe LaTeX Project Public Li­cense 1
Copy­right2000,2005,2009 Har­ald Harders
Main­tainerHar­ald Harders
Con­tained inTeXlive as sub­str
MikTeX as sub­str
Topics sup­port for de­vel­op­ment of (La)TeX macros
Guest Book Sitemap Contact 2014-04-23 10:27 CEST