format
Uses this string as a format string and returns a string obtained by substituting the specified arguments, using the default locale.
Since Kotlin
1.0Uses the provided format as a format string and returns a string obtained by substituting the specified arguments, using the default locale.
Since Kotlin
1.0Deprecated
Use Kotlin compiler 1.4 to avoid deprecation warning.
Uses this string as a format string and returns a string obtained by substituting the specified arguments, using the specified locale.
Since Kotlin
1.0inline fun String.Companion.format(locale: Locale, format: String, vararg args: Any?): String(source)
Deprecated
Use Kotlin compiler 1.4 to avoid deprecation warning.
Uses the provided format as a format string and returns a string obtained by substituting the specified arguments, using the specified locale.