How to create special character string in vb.net

midnite Purr

New Member
In ancient time, we can specify all characters with \[code\]chr(56)\[/code\]For example, say the character is unprintable. We want to put it in a string. Just do\[code\]Dim a as string = chr (56)\[/code\]Now we have UTF8 or unicode (or whatever encoding).Say I want variable a to contain\[code\]     en space     em space     thin space? ‌ ‌ zero width non-joiner? ‍ ‍ zero width joiner? ‎ ‎ left-to-right mark ‏ ‏ right-to-left mark\[/code\]In fact, say I want to create a function that'll get rid all of such characters from my string.How would I do so?I want the function to leave chinese, korean, japanese characters intact and then get rid really really vague ones.
 
Back
Top