thanx it was just a case of using $chr(35) instead of # smile