[racket] get-resource question
Hello friends,
getting resource from registry with the type REG_EXPAND_SZ gives me a unicode string like this:
"\"\u0000D\u0000:\u0000\\\u0000d\u0000e\u0000v\u00005\u00005\u0000\\\u0000p\u0000r\u0000o\u0000j\u0000e\u0000c\u0000t\u0000s\u0000\\\u0000l\u0000i\u0000b\u00006\u00004\u0000\"\u0000\u0000\u0000"
(define erg (get-resource.....).
To convert to a readable string I use
(printf "~a" (string-replace erg "\u0000" ""))
Is there a more convinient function to tranform this unicode string which are formatted with an empty space between every character to a normal readable string??
yours,