BHV-14938: Added arbitrary string support to detectTextDirectionality

Enyo-DCO-1.1-Signed-off-by: Blake Stephens <blake.stephens@lge.com>