Checking correctness of an inequality

When you say that white space is ignored, does this mean that it would ignore the spaces when comparing a student’s answer to a latex string? I only ask because I’m trying to account for potential spaces that students might place in when comparing their answer to the latex string “40%”.

I try to never use latex string comparisons but having students supply an answer with the percent symbol has been problematic.