title: Example of how StringFixture works
body: <p>Can someone provide an example of how to use <a href="https://github.com/unclebob/fitnesse/blob/master/src/fitnesse/fixtures/StringFixture.java" rel="nofollow noreferrer">FitNesse String Fixture</a>?</p>
  
  <p>The following doesn't work: </p>
  
  <pre><code>|fitnesse.fixtures.StringFixture|
  |value|expected|contains?       |
  |hello|lo      |true            |
  </code></pre>
  
  <p>To provide context I'm trying to verify  the value of the <code>Id</code> field of a output of a REST call:</p>
  
  <pre><code>|Table:smartrics.rest.fitnesse.fixture.RestFixture | http://localhost|
  |GET|/data/1234|  |                                                | |
  |let|body      |js| JSON.parse(response.body)                      | |
  |let|id        |js| JSON.parse(response.body).Data[0].Id           | |
  </code></pre>
  
  <p>And I'd like not to write any code for this at all if possible.</p>