Hello experts.
I am trying to scan through a text file and look for a matching VIN, if
its found I don’t want to continue processing. So far the code below
works however how do I stop processing the rest of the code in my script
if a match is found ?
file=‘Database.txt’
File.readlines(file).each do |line|
print line if (line[vin])
end