Remove and return the first or last element from an array
["John", "Doe", "30", "Engineer"]
.array
input.Last
output should be "Engineer"
and the Rest
output should be ["John", "Doe", "30"]
.["John", "Doe", "30", "Engineer"]
.Pop from front
setting, and connect the Array Block to its array
input.First
output should be "John"
and the Rest
output should be ["Doe", "30", "Engineer"]
.array
input is not providedCan I pop multiple elements from an array at once?
Can I use the Pop Block to pop elements from a string?
What if the array is empty?