From: Rob Rypka Date: 2005-11-22T04:19:57+09:00 Subject: Re: Ruby and WMI On 11/21/05, timgerrlists wrote: > Thank you, it now works, can you tell me one thing, ( I am learning) > what does [8..-1] mean in the script "puts "\t" + mem.adsPath[8..-1]". Indexing with a range [something..-1] will go to the end of the array/string. irb(main):001:0> a = [0, 1, 2, 3, 4] => [0, 1, 2, 3, 4] irb(main):002:0> a[2..-1] => [2, 3, 4] irb(main):003:0> b = "Hello, World!" => "Hello, World!" irb(main):005:0> b[7..-1] => "World!" -- Rob