% This file is embedded in datatool-user.pdf version 3.4.1 2025-04-25
% 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}
