The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
How to remove an item from a list? [SOLVED]
10-22-2016, 07:52 AM (This post was last modified: 10-23-2016 06:29 AM by cclinus.)
Post: #1
How to remove an item from a list? [SOLVED]
Hi,

This is my list: {0, {0,1,2},{0,1,2}}

I want to remove the last item {0,1,2} from the list but keep the first two items.
How?

end result should be {0, {0,1,2}}

I had read some command such as DELCOL(only work with matrix), remove(can not keep one {0,1,2} in the list.

Thanks!
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
How to remove an item from a list? [SOLVED] - cclinus - 10-22-2016 07:52 AM



User(s) browsing this thread: 1 Guest(s)