Get character from Unicode codepoint

I use the following code to get a Character from a Unicode codepoiint:

let c = Character(Unicode.Scalar("12345")!)

It seems very complex and clumsy. Is there an shortcut way to achieve the same goal?

Powered by WPeMatico

About

You may also like...

Comments are closed.