Title
a

Aregev2

07/14/2018, 11:02 AM
Will
String.format
be available in native?
šŸ‘ 3
a

AnaR

07/14/2018, 3:51 PM
I was able to use typical $field within the string in Kotlin-native. Is there a specific use you are looking for String.format?
a

Aregev2

07/14/2018, 3:52 PM
Not a specific thing, would have been nice to have a java like formatting system in K/N
a

AnaR

07/14/2018, 4:15 PM
Perhaps you should look at Kotlin's formatting system instead for Kotlin native. The Kotlin std-lib is implemented in K/N
a

Aregev2

07/14/2018, 4:37 PM
Platform and version requirements: JVM
Checked it
m

msink

07/15/2018, 3:52 PM
There is
platform.posix.snprintf
, but it's not exactly the same - outputs utf-8 string to preallocated C buffer.
a

Aregev2

07/15/2018, 3:52 PM
I see
I heard there are plans to combine it with the string template system
a

Alexey Belkov [JB]

07/16/2018, 10:53 AM
@Aregev2 Please submit a feature request here: http://kotl.in/issue
a

Aregev2

07/16/2018, 10:57 AM