Search found 1 match

by jay1990
Fri Sep 11, 2009 11:00 am
Forum: Text Formatting
Topic: getting the length of a string?
Replies: 1
Views: 6571

getting the length of a string?

Hi all. I'd just like to know if theres a Latex function that i can use to retrieve the number of characters in a string. Eg:

\begin{document}

\strlen{test}

\end{document}

would print "4" on the page. Does something like that exist?

Cheers.