From: pere.noel@... (=?ISO-8859-1?Q?Une_b=E9vue?=) Date: 2006-02-21T02:43:31+09:00 Subject: can't convert String into Integer i have a hash like that : @label_list={} with only one key for the time being : @label_list["BookmarksBar"]=[] then, the value is an Array populated like that : @label_list["BookmarksBar"] << folder.attributes["label"].gsub(/"(.*)"/, '\1') then, i want to use this hash-value by : if !@label_list["BookmarksBar"].include?(label_) # <= line 143 this works a number of times (it's within an each loop) until label_ = "files" where i get : /Users/yvon/work/RubyCocoa/BookmarksMerge/build/Development/BookmarksMer ge.app/Contents/Resources/Controller.rb:143:in `NSApplicationMain': NSApplicationMain - RBException_TypeError - can't convert String into Integer (OSX::OCException) label_ are always strings... i don't understand )) -- une b�vue