start

start(iter) -> state

Get initial iteration state for an iterable object

Examples

julia> foo = [5,4,3,2,1];
julia> start(foo)       # returns index, not element
1
julia> str = "Hello";
julia> start(str)
1

See Also

countfrom, cycle, done, drop, eachindex, enumerate, first, repeated, rest, start, svds, take, vecdot, vecnorm, zip,

User Contributed Notes

Add a Note

The format of note supported is markdown, use triple backtick to start and end a code block.

*Required Field
Details

Checking you are not a robot: