shouldn't this work? `String.format("#%02X%02X%02X...
# getting-started
e
shouldn't this work?
String.format("#%02X%02X%02X%02X", *i)
n
arrayOf(3,2,1).run { "#%02X%02X%02X".format(*this) }
works for me. Note that this only works for arrays and not for lists.
e
thanks Norbert, I am gonna try tomorrow
Type mismatch. Required: Array<out Any?> Found: IntArray