x
x copied to clipboard
ansi: right to left truncation option?
trafficstars
Right now, the Truncate function iterates over the given string from left to right. It might be nice to have either TruncateRTL or DirectionalTruncate
The left to right only option that we have now, can cause some issues with right-justified text or right-to-left languages (e.g. arabic)
Example: " UK" becomes " U..."