I'm making a card game and want to use the Unicode playing cards which range from U+1F0A0 to U+1F0DE.
Is there a way to create a partial Unicode sequence such as "\U0001F0"
and then concatenate the last two digits on the end, or some way to change the last two digits of a full sequence to the ones needed?
I have tried StringBuilder, ToCharArray, .Insert, .Remove, .Add, .Replace etc, to replace the last two digits.
I have tried,
string cardCode = "\U0001F0" + suit + value;
string cardCode = "@\U0001F0" + suit + value;
string cardCode = $"\U0001F0{suit}{value}";
but of course the last two only display the string as plaintext, and the first one is an invalid escape sequence.