Re: wired result
by Cheyne Li other posts by this author
May 8 2008 1:31PM messages near this date
wired result
|
Re: wired result
Sorry, I wasn't finish when I mistakely posted it.
I tested
i=0
line.scan(fkey){|x|i=i+1}
puts i
if i> 0
puts "Found match...\n\r"
end
in other file by assgined fkey and line. it worked
but the function itself couldn't find match at all. I have no idea
what's wrong with it. Is there anyone can help me out? Thanks a lot
--
Posted via http://www.ruby-forum.com/.
Thread:
Cheyne Li
Cheyne Li
Che
Michael Linfield
Cheyne Li
|