Ignore whitespace with loadvars?

Hey folks, anyone know of a way to ignore whitespace with HTML text (brought in using loadVars), like you can with XML? I saw a mention of using charCodeAt somewhere, but it had no explanation of how this might work.