jetbrains.buildServer.configs.kotlin.v2017_2 / kotlin.String

Extensions for kotlin.String

toExtId

fun String.toExtId(prefix: String = ""): String

Creates a string satisfying requirements for entity id in TeamCity. Can be used to generate an id from a name.

toId

fun String.toId(prefix: String = ""): String

Creates a string satisfying requirements for entity id in TeamCity. Can be used to generate an id from a name.