I've asked to do a loop into an array who looks like this:
Array
(
[0] => 215950741
[1] => 3900
[2] => 10527160
[3] => 2873
...
[44] => N~~~~
[45] => N~~~~
[46] => historico_estados
[47] => 18/10/2018 16:03:09~10~Solicitada~ARANJUEZ~0~2873~ ~
[48] => 18/10/2018 16:06:42~13~Aceptada~ARANJUEZ~0~2873~ ~
[49] => 18/10/2018 18:15:49~3~Tránsito~SANTANDER~0~3900~ ~
[50] => 18/10/2018 22:28:49~3~Tránsito~PLATVITORIA~0~9001~ ~
[51] => 19/10/2018 04:19:33~3~Tránsito~PLATMADRID~0~9028~ ~
[52] => 19/10/2018 08:15:53~2~Reparto~ARANJUEZ~0~2873~ ~
[53] => 19/10/2018 09:37:00~1~Entregado~RECEPTOR~0~2873~ ~
)
I need to loop from the entry 46 of the array to the end, I've tried to do something but isn't working at all, and the plus of this I had to do it solely in Twig, so I am kinda lost. I can get the last entry of the array using the lastfunction of twig.. but can't find something to get the last entries.
{% for i in array[46:] %}?