Note that there are some explanatory texts on larger screens.

plurals
  1. POPulling IDs from a wall of text
    text
    copied!<p>I'm really looking for help getting the ball rolling here. I have some basic knowledge in pulling parts of a string, but my present problem I'm not exactly sure where to begin.</p> <p>I'm using an API to pull client data to verify information. This is a small sampling as I will be working with 20,000+ records. The call I'm using to build my data set to test returns data that looks like this: </p> <pre><code>{ "id": "121208", "loginToken": "XXXXXXXXXXXXXXXXXX", "businessName": "Business, Inc.", "contactPhone": "8005555104", "contactLastName": "Davidson", "contactEmail": "info@mail.com", "contactFirstName": "Dave" }, { "id": "121209", "loginToken": "XXXXXXXXXXXXXXXXXX", "businessName": "Business, Inc.", "contactPhone": "8005555104", "contactLastName": "Davidson", "contactEmail": "info@mail.com", "contactFirstName": "Dave" }, { "id": "121210", "loginToken": "XXXXXXXXXXXXXXXXXX", "businessName": "Business, Inc.", "contactPhone": "8005555104", "contactLastName": "Davidson", "contactEmail": "info@mail.com", "contactFirstName": "Dave" }, { "id": "121211", "loginToken": "XXXXXXXXXXXXXXXXXX", "businessName": "Business, Inc.", "contactPhone": "8005555104", "contactLastName": "Davidson", "contactEmail": "info@mail.com", "contactFirstName": "Dave" }, </code></pre> <p>I'm using excel to pull this data so it comes in a giant mass of text in one cell. My problem is I need to get the ID for each client into its own row from the query and then I'm good to go. It should be noted that some of the clients returned will not have an ID and will report it as:</p> <pre><code>"id": "", </code></pre> <p>Any information to help me learn, I'm not really just looking for the answer, is greatly appreciated!</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload