from(position) public

Returns the remaining of the string from the position treating the string as an array (where 0 is the first character).

Examples:

"hello".from(0) # => "hello" "hello".from(2) # => "llo" "hello".from(10) # => "" if < 1.9, nil in 1.9
Show source
Register or log in to add new notes.