def getTabName(header, index):
	"""Get the name of the table at index from above tables generator.
	Expects the header string and the index of the table."""
	name = header.rindex(' ', 0, index) #start of the name.
	return header[name + 1: index]