[erlang-questions] re moving nth element from a list

Anupam Kapoor anupam.kapoor@REDACTED
Wed Jun 25 13:12:53 CEST 2008


Peter Lund <erlang@REDACTED> wrote:
,----
| > Remove = R =
| > fun(L,N) ->
| > string:substr(L,1,N-1)++string:substr(L,N+1)
| > end.
`----
cool ! thanks. i haven't looked at the 'string' module. yet.

kind regards
anupam



More information about the erlang-questions mailing list