format

fun format(vararg args: String): String

Returns the message string with any %s placeholders substituted by the supplied arguments.

Return

The formatted message ready for display.

Parameters

args

Values to substitute into the message template, in the order they appear.