Replace `length` in slices by `$`
Merge pull request #696 from ntrel/length-dollar

Replace `length` in slices by `$`