Package-level declarations

A String.format for common code, with the syntax and output of java.util.Formatter.

Start here: format. Import io.github.yuroyami.kitecore.text.format to use it.

Types

Link copied to clipboard

Thrown by format when the pattern is invalid or an argument does not fit it.

Functions

Link copied to clipboard
fun String.format(vararg args: Any?): String

Formats args into this pattern, with Java's String.format syntax, on every target.

fun String.Companion.format(format: String, vararg args: Any?): String

Formats args into the pattern format: the String.format(pattern, args) call shape.