Message 1 of 2

Not applicable
08-09-2018
04:30 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have an array that looks like this
arr = #("1f_false", "2f_false", "3f_false", "4f_false", "5f_true", "6f_true", "7f_true", "8f_false", "9f_false")
I would like to delete items from array that have the string "false" in them leaving only an array that looks like this:
arr = #( "5f_true", "6f_true", "7f_true")
Is there a way to delete items in array based on characteristics of the items in the array as opposed their index location in the array like "deleteItem" does?
and can I remove portions of the items in an array like if I want to remove the "_true" part only?
thanks
Solved! Go to Solution.