title: Unable to do any String manipulate operation in Teamcity Config Parameter values
body: <p>I am having a Config Parameter in my settings.kts</p>
  <pre><code>select(
              name = &quot;TEST_TYPE&quot;,
              value = &quot;&quot;,
              label = &quot;TEST_TYPE&quot;,
              description = &quot;Type of Test(s)&quot;,
              display = ParameterDisplay.PROMPT,
              readOnly = false,
              allowMultiple = false,
              options = listOf(&quot;E2E-TESTS&quot;, &quot;API-TESTS&quot;)
          )
  </code></pre>
  <p>When I try to access it, it returns the correct option I have chosen.</p>
  <pre><code>steps {
   script {
              scriptContent = &quot;echo %TEST_TYPE%&quot;
          }
  }
  </code></pre>
  <p><code>prints -&gt; E2E-TESTS</code></p>
  <p>But when I try to modify/manipulate the value, it actually returns the label instead of the option I have chosen.</p>
  <pre><code>script {
              var test = &quot;%TEST_TYPE%&quot;.length
              scriptContent = &quot;echo $test&quot;
          }
  </code></pre>
  <p><code>prints -&gt; 11</code> as there are 11 characters in <strong>%TEST_TYPE%</strong>.</p>
  <p>I could not even perform any conditional operations as well.</p>
  <p>I don't know why. This is weird and totally blocked by this. Any help will be handy.</p>