Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: how to truncate an array
On 03/04/2014 10:44 AM, Bart Schaefer wrote:
Bart,
Really an array? Or a string you want to index by character?
Ahright ... I forgot the rapturous string transubstantiation step:
array=(${=input_string})
array[21,-1]=()
... and all is well.
I despair of ever understanding this stuff :-(
God knows what " =() " really does, and I'm smart enough to not even ask ;-)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author