title: Extracting substrings within the JSON using the Jetpacks
body: <p>I am using the Postman App with the jetpacks plugin and want to set envVar or globalVar within my tests based off a href response I get.</p>
  
  <pre><code>{
       href: "http://api.alpha.com/profiles//8a5c7d62332067b48473350171ba4206"
  }
  </code></pre>
  
  <p>So in my test box I've entered the flowing code to extract and set the profile_id variable yet it goes unset.</p>
  
  <pre><code>var data = JSON.parse(responseBody);
  
  postman.setEnvironmentVariable("profile_Id", data.substring(37));
  </code></pre>
  
  <p>Does this functionality exist within the Jetpacks plugin for postman?</p>