From: Abder-Rahman Ali Date: 2010-07-14T06:26:24+09:00 Subject: What does this do? I have this portion of code from "Why's poignant guide to Ruby" book. str = "A string is a long shelf of letters and spaces" # Nice definition :-) puts str[0..-1] puts str[1..-2] I just want to ask. Does the preceding code REMOVE what is BETWEEN the range? I just concluded that from the result I get and want to make sure. Thanks. -- Posted via http://www.ruby-forum.com/.