Name
explolist — splitting of a list
CALLING SEQUENCE
[l1,l3]=explolist(l1,l2)
PARAMETERS
- Input
l1 = the list to split
l2 =the list of conditions
- Output
l1 = the initial list without the elements verifying the conditions
l3 = the initial list with the elements verifying the conditions
DESCRIPTION
Splits the list l1 in 2 lists containing the elements that do (l3) or do not (l1) verify the conditions contained in list l2 (used in ols but not very interesting)
EXAMPLE
[grocer_lx,grocer_lnp]=explolist(grocer_lx,list('grocer_lx(i)==''noprint'''))
Taken from function ols.