AUI-1577 Inconsistent string truncation in aui-base-lang