I got a list,
frq 1 1 1 1 1 2 2 3 ...,
I need to to change the 3rd ELEMENT which is 1, to 5.
I know the "lreplace" command wouldn't work for this as it doen't take the index of the list.
Is there a command to do this job?
if not, the possibility might be deleting the 3rd element and appending the new value.
Is there a command to delete a value from a list if the index is given?
Thanks in advance!
frq 1 1 1 1 1 2 2 3 ...,
I need to to change the 3rd ELEMENT which is 1, to 5.
I know the "lreplace" command wouldn't work for this as it doen't take the index of the list.
Is there a command to do this job?
if not, the possibility might be deleting the 3rd element and appending the new value.
Is there a command to delete a value from a list if the index is given?
Thanks in advance!