I was looking for `String.format` and, to my surpr...
# multiplatform
e
I was looking for
String.format
and, to my surprise, it's still jvm only. Consider voting https://youtrack.jetbrains.com/issue/KT-25506
e
I don't think it's surprising - among other things, it interacts with Locale, which is JVM-only
e
is it that complicate to port it to native as well?
e
that doesn't handle
Locale
. fine if you don't need it, but you can't replace the Java formatter without pulling in huge dependencies like ICU
e.g.
Copy code
Locale.setDefault(<http://Locale.US|Locale.US>);     "%,g".format(1234.5) == "1,234.5"
Locale.setDefault(Locale.FRANCE); "%,g".format(1234.5) == "1 234,5"