StringFormat

final implicit class StringFormat[A](self: A) extends AnyVal
class AnyVal
trait Matchable
class Any

Value members

Deprecated methods

@deprecated("Use `formatString.format(value)` instead of `value.formatted(formatString)`,\nor use the `f\"\"` string interpolator. In Java 15 and later, `formatted` resolves to the new method in String which has reversed parameters.", "2.12.16") @inline
def formatted(fmtstr: String): String

Returns string formatted according to given format string.

Returns string formatted according to given format string. Format strings are as for String.format (@see java.lang.String.format).

Deprecated
Source:
Predef.scala