banner

fun String.banner(bannerDelimiter: String = "*"): String

Format the string as a banner with a delimiter above and below text. The character used to render the delimiter is defined.

Parameters

bannerDelimiter

Delimiter char for banners.