I have the following string variable:
“{"searchRecords":[{"attributes":{"type":"Account","url":"/services/data/v42.0/sobjects/Account/0017d00001ApFoZAAV"},"Id":"0017d00001ApFoZAAV","Name":"ABC LLC"}]}”
I want to extract out 0017d00001ApFoZAAV. This id number will change but the rest should be consistent.
ppr
(Peter Preuss)
2
We can handle it has JSON
And extract the value like:
YourJObjectVar("searchRecords")(0)("Id").value(of String)
1 Like
Str=Jobject(“SearchRecords”)(0)(“ld”).Tostring
1 Like
system
(system)
Closed
5
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.