but almost everything I've found is old and outdated and/or not supported by the author anymore.
have you tried the mods tho?
edit: searched through the wow api and the default ui made by blizz, somehow its locked..
all i found was this global, tho all it does is a dummy to show the text "?/255 characters left"
found a function, but you gotta find what frame it belongs to :)