[cfgeeks] OK calling in the cavalry
Steve Litt
slitt at troubleshooters.com
Mon Jan 1 10:24:18 EST 2007
On Monday 01 January 2007 02:30, Gilbert Young wrote:
> Ruby Q. I am trying to compare two variables that are strings, one
> taken from a SQL command, one taken from user input earlier (ticker):
Hi Gil,
IIRC in Ruby == on two strings measures whether they reference the same
variable, not whether their value is the same. There's some string.equal() or
something like that, that does what you want. I'd look it up but I'm about to
begin a 1200 mile car trip with my family of 5 from Chicago to Orlando.
SteveT
Steve Litt
Author: Universal Troubleshooting Process books and courseware
http://www.troubleshooters.com/
More information about the cfgeeks
mailing list