Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: zsh equivalent to string manipulation with offset and length



On Mon, Oct 20, 2008 at 01:15:06PM +0200, xulxer wrote:
> string="abcdefghijklmnopqrstuvwxyz"
> echo ${string:10:5}

string="abcdefghijklmnopqrstuvwxyz"
print ${string[11,15]}



Messages sorted by: Reverse Date, Date, Thread, Author