- :string
- :block
slice
get a slice of collection between given indices
Parameters
slice collection :string :literal :block from :integer to :integer
Returns
Examples
copyslice "Hello" 0 3 ; => "Hell"
copyprint slice 1..10 3 4 ; 4 5
slice collection :string :literal :block from :integer to :integer
copyslice "Hello" 0 3 ; => "Hell"
copyprint slice 1..10 3 4 ; 4 5