How to concatenate two unicode characters in DotNet and not have any space?
Posted
by OutOFTouch
on Stack Overflow
See other posts from Stack Overflow
or by OutOFTouch
Published on 2010-03-30T20:54:25Z
Indexed on
2010/03/30
21:03 UTC
Read the original article
Hit count: 251
When I concatenate the following two unicode characters I see both but there is a space between them. Is there anyway to get rid of this space?
StringBuilder sb = new StringBuilder();
int characterCode;
characterCode = Convert.ToInt32("2758", 16);
sb.Append((char)characterCode);
characterCode = Convert.ToInt32("25c4", 16);
sb.Append((char)characterCode);
© Stack Overflow or respective owner