Hah! I never thought of doing a slice with negative indexes ;)
Maybe is my past of python: arr[-3:] to get the last 3 elements for eg. :)
SrMordred via Digitalmars-d-learn Thu, 22 Feb 2018 08:50:50 -0800
Hah! I never thought of doing a slice with negative indexes ;)
Maybe is my past of python: arr[-3:] to get the last 3 elements for eg. :)