page_scraper.rb
def trim_pn(pn)
		if (pn[0] == ",")
			pn = pn[1..-1]
		end
		return pn
	end
#Checks validity of product number and removes excess characters if necessary

Checks validity of product number and removes excess characters if necessary
Checks validity of product number and removes excess characters if necessary
def trim_pn(pn)
		if (pn[0] == ",")
			pn = pn[1..-1]
		end
		return pn
	end
def trim_pn ( pn ) if ( pn [ 0 ] == "," ) pn = pn [ 1 .. - 1 ] end return pn end
Checks validity of product number and removes excess characters if necessary
Checks validity of product number and removes excess characters if necessary
pn