>wowhelm_
~/forever/addon-api/function/ToTitle

ToTitle

documented function · LuaLocaleContextAPI
ToTitle(text) : result

Titlecases a string using titlecase positions determined by the default Unicode algorithm.

──ARGUMENTS
text
cstring (The UTF-8 text whose titlecase positions are mapped.)
──RETURNS
result
string (The titlecased string, which may be longer or shorter than the original.)
──DETAILS
May Return Nothing
true
Secret Arguments
AllowedWhenTainted
──VERSION HISTORY

Present since at least 1.60.1.70707, the first build we track.