% This file is embedded in datatool-user.pdf version 3.4.4 2026-07-31
% Example 21 String Less Than
% Label: "ex:strlt"
% arara: pdflatex
% arara: pdfcrop
\documentclass[12pt]{article}
\pagestyle{empty}
\usepackage{datatool-base} 
\begin{document}
`aardvark' is
\DTLifstringlt{aardvark}{Zebra}{before}{after}
`Zebra' (case). 

`aardvark' is
\DTLifstringlt*{aardvark}{Zebra}{before}{after}
`Zebra' (no case). 
\end{document}
