Parse string to store lead_id as a variable - Hack The Tech - Latest News related to Computer and Technology

Hack The Tech - Latest News related to Computer and Technology

Get Daily Latest News related to Computer and Technology and hack the world.

Wednesday, June 22, 2022

Parse string to store lead_id as a variable

I need to extract the $lead_id here when this is returned to me from an endpoint. What you are looking at here is part of the actual source code of the endpoint I am sending a GET request to

echo "$result: $result_reason - $phone_number|$list_id|$lead_id|$gmt_offset|$user\n";

Here is an example of what is returned to me: SUCCESS: add_lead LEAD HAS BEEN ADDED - 27000000000|6015|81527|2|9000 and I need to store this lead_id, 81527, as a variable on my end



source https://stackoverflow.com/questions/72705390/parse-string-to-store-lead-id-as-a-variable

No comments:

Post a Comment