% This file is embedded in datatool-user.pdf version 3.4.1 2025-04-25
% Example 17 Test for Strings
% Label: "ex:ifstr"
% arara: pdflatex
% arara: pdfcrop
\documentclass[12pt]{article}
\pagestyle{empty}
\usepackage{datatool-base} 
\begin{document}
1,234: \DTLifstring{1,234}{string}{not string}. 

\$1,234.0: \DTLifstring{\$1,234.0}{string}{not string}. 

1,2,3,4: \DTLifstring{1,2,3,4}{string}{not string}. 

Empty: \DTLifstring{}{string}{not string}. 
\end{document}
