简体   繁体   中英

Unique Invisible Characters? Objective C

I'm wondering if it is possible to have unique characters that cannot be seen through a label but still represent something.

So if I wrote:

12*12(2$2)
Appear as: 12*12(22)  or   12*12(2 2)

"$" would be the invisible character but then I could use the replace text function to replace it later with ** per say.

Maybe you can use non-breakable-space for that: @"\ " .

See http://en.wikipedia.org/wiki/Whitespace_character for a list of other whitespace characters.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM