I see LOTS of questions and answers about trimming the white space of of the end of a string. My question is the opposite.
I intentionally DO WANT a blank space character at the end of my string and I do NOT want it to be automatically trimmed away when assigned to the text
property of a UILabel
.
I have tried adding all the unicode variations I could think of (NO-BREAK SPACE /u00a0; PUNCTUATION SPACE /u0008; TAG SPACE, etc) but they all get trimmed.
In my past life programming experience there was always available a "space" character what was not considered a "white space" specifically so it would be immune from auto-trimming.