Figured out how to strip the unwanted symbols from the string.