title: String.split() in Karate Feature File returning exceptions
body: <p>I'm unsure about how I can split the response string from an already created feature to obtain the response header "Location" value.</p>
  
  <p><strong>What I've tried</strong></p>
  
  <p>1)</p>
  
  <pre><code>Feature: Create Tariff
  
    Background:
    * def result = call read('../../get-user-token.feature')
    * def serviceId = call read('create-service.feature')
  
    Scenario: Create Tariff
      Given url 'https://app-dev.topbox.pro/tariff-svc/api/v1/tariffs'
      And header Authorization = result.response.token_type + " " + result.response.access_token
      And request
        """
        {
        serviceTypeId: '#(serviceId.responseHeaders['Location'].split('/')[1])',
        owner: 1,
        type: 0,
        pencePerMile: '69.69',
        minMileage: '1.00',
        minCost: 5,
        zoneFrom: '',
        zoneTo: '',
        fixedCost: 0
        }
        """
      When method POST
      Then status 201
  </code></pre>
  
  <p>Which resulted in...</p>
  
  <blockquote>
    <p>IntegrationTests.TestSetup.create-tariff: create-tariff.feature:10 -
    net.minidev.json.parser.ParseException: Unexpected token L at position
    46.</p>
  </blockquote>
  
  <p>2)</p>
  
  <pre><code>Feature: Create Tariff
  
    Background:
    * def result = call read('../../get-user-token.feature')
    * def serviceId = call read('create-service.feature').responseHeaders['Location'].split('/')[1]
  
    Scenario: Create Tariff
      Given url 'https://app-dev.topbox.pro/tariff-svc/api/v1/tariffs'
      And header Authorization = result.response.token_type + " " + result.response.access_token
      And request
        """
        {
        serviceTypeId: '#(serviceId)',
        owner: 1,
        type: 0,
        pencePerMile: '69.69',
        minMileage: '1.00',
        minCost: 5,
        zoneFrom: '',
        zoneTo: '',
        fixedCost: 0
        }
        """
      When method POST
      Then status 201
  </code></pre>
  
  <p>Which resulted in...</p>
  
  <blockquote>
    <p>failed features: IntegrationTests.TestSetup.create-tariff: -unknown-:5
    - javascript evaluation failed: read('create-service.feature').responseHeaders['Location'].split('/')<a href="https://i.stack.imgur.com/IpNMr.png" rel="nofollow noreferrer">1</a>,
    TypeError: Cannot read property "Location" from undefined in  at
    line number 1</p>
  </blockquote>
  
  <p><strong>NOTE</strong>
  The specified feature "create-service.feature" does indeed work when isolated and does produce the response header, as shown below</p>
  
  <p><a href="https://i.stack.imgur.com/IpNMr.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/IpNMr.png" alt="Location Header Response"></a></p>