crusade-tracker/system/caches/pluginsDslCache/doc/jetbrains.build-server.configs.kotlin.v2019_2/kotlin.-string/to-id.html
2021-01-18 15:27:50 -05:00

21 lines
1.5 KiB
HTML

<HTML>
<HEAD>
<meta charset="UTF-8">
<title>toId - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">jetbrains.buildServer.configs.kotlin.v2019_2</a>&nbsp;/&nbsp;<a href="index.html">kotlin.String</a>&nbsp;/&nbsp;<a href="./to-id.html">toId</a><br/>
<br/>
<h1>toId</h1>
<a name="jetbrains.buildServer.configs.kotlin.v2019_2$toId(kotlin.String, kotlin.String)"></a>
<code><span class="keyword">fun </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">.</span><span class="identifier">toId</span><span class="symbol">(</span><span class="identifier" id="jetbrains.buildServer.configs.kotlin.v2019_2$toId(kotlin.String, kotlin.String)/prefix">prefix</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a>&nbsp;<span class="symbol">=</span>&nbsp;""<span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a></code>
<p>Creates a string satisfying requirements for entity id in TeamCity.
Can be used to generate an id from a name.</p>
<pre><code class="lang-kotlin">//Unresolved: _Samples.toId</code></pre>
<h3>Parameters</h3>
<p><a name="prefix"></a>
<code>prefix</code> - an optional prefix to add to the id</p>
</BODY>
</HTML>