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