View Problem

Fetch an element of a list by index

Given the list [One, Two, Three, Four, Five], fetch the third element ('Three')
ExpandDiskEdit
php
$list = array("One", "Two", "Three", "Four", "Five");
$three = $list[2];
DiskEdit
clojure
(nth '[One Two Three Four Five] 2)

Submit a new solution for php or clojure
There are 23 other solutions in additional languages (cpp, csharp, erlang, fantom ...)