% This file is embedded in datatool-user.pdf version 3.4.2 2025-11-06
% Example 49 Word Initial Letter with UTF-8
% Label: "ex:initialsutf8"
% arara: pdflatex
% arara: pdfcrop
\documentclass[12pt]{article}
\pagestyle{empty}
\usepackage{datatool-base} 
\begin{document}
ábc: \DTLGetInitialLetter{ábc}{\result}
Initial: \result. {áb}c (áb grouped): \DTLGetInitialLetter{{áb}c}{\result}
Initial: \result. 

``ábc'': \DTLGetInitialLetter{``ábc''}{\result}
Initial: \result. ``{áb}c'' (áb grouped): \DTLGetInitialLetter{``{áb}c''}{\result}
Initial: \result. 
\end{document}
