How to remove the specific value from the string
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2022 09:20 AM
Hi All,
I want to remove a specific value from the string. Could you please help me to removing the value from the string.
Below is the string and I want to remove the role and it's sys_id from it.
Thanks for the response in advance.
Regards
Sivaprasath
1 REPLY 1

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2022 10:55 AM
Hi,
You can use the delete keyword to remove a specific property from a JSON object.
Learn how to here:
https://www.w3schools.com/howto/howto_js_remove_property_object.asp