Project

General

Profile

Actions

Feature #6445

open

request for default length/position on string index

Added by botp (bot pena) almost 12 years ago. Updated over 6 years ago.

Status:
Assigned
Target version:
-
[ruby-core:45106]

Description

would be nice if ruby has default for "rest or up to end of string"

eg

"hello"[2,] => should default to "hello"[2..-1]
or
"hello"[2..] => should default to "hello"[2..-1]

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0