hi friends,
I have json object like this
0:{id:"pf-elevator3"}
1:{id:pf-elevator}
2: {id:"p-s-12"}
now what I am looking is i need to replace the json array values starting with "pf-" to undefined in the array.
I tried with startswith and Exists getting function is not defined error.
how to acheive this output?please help me

Ronika JencyRank #770 · 3K reputationPosted Oct 23, 2019, 3:42 AM EDT
Priyanka K SRank #1,385 · 1.2K reputationPosted Dec 26, 2019, 7:53 PM EST
Laxmidhar SahooRank #383 · 6.6K reputationPosted Dec 27, 2019, 7:43 PM EST
Mageshwaran RRank #411 · 6.1K reputationPosted Dec 29, 2019, 1:18 AM EST