jetbrains.buildServer.configs.kotlin.v2019_2 / kotlin.String / toId

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.

//Unresolved: _Samples.toId

Parameters

prefix - an optional prefix to add to the id