From: Dave Thomas Date: 2001-08-10T00:18:42+09:00 Subject: [ruby-talk:19438] Re: Simple Question 2 Steve Tuckner writes: > Is there a built in way to handle conversion of hex values in strings to > integers? Examples of possible syntax if it doesn't exist > > "0xF0".to_i # have it handle leading 0x for hex or 0 for octal "0xF0".hex It's a method in String Dave