Home

hexagon_core / com.hexagonkt.helpers / kotlin.String

Extensions for kotlin.String

Name Summary
banner Formats the string as a banner with a delimiter above and below text. The character used to render the delimiter is defined.funString.banner(bannerDelimiter:String= "*"):String
camelToSnake Transforms the target string from camel case to snake case.funString.camelToSnake():String
filter funString.filter(prefix:String, suffix:String, vararg parameters:Pair<String,String>):String
filterVars Filters the target string substituting each key by its value. The keys format is: #{key} and all occurrences are replaced by the supplied value.funString.filterVars(parameters:Map<*, *>):StringfunString.filterVars(vararg parameters:Pair<*, *>):String
snakeToCamel Transforms the target string from snake case to camel case.funString.snakeToCamel():String
stripAccents funString.stripAccents():String
toStream funString.toStream():InputStream