- delete_at
Delete element from array by location
examples/arrays/delete_at.cr
planets = ["Mercury", "Venus", "Earth", "Mars", "Jupiter", "Saturn", "Uranus", "Neptune"] puts planets.delete_at(1) puts planets puts planets.delete_at(1, 3) puts planets
Venus ["Mercury", "Earth", "Mars", "Jupiter", "Saturn", "Uranus", "Neptune"] ["Earth", "Mars", "Jupiter"] ["Mercury", "Saturn", "Uranus", "Neptune"]