# Ignore whitespace with loadvars?

**URL:** <https://forum.kirupa.com/t/ignore-whitespace-with-loadvars/195403>\
**Category:** Uncategorized\
**Created:** [July 31, 2006, 2:12pm UTC](https://forum.kirupa.com/t/ignore-whitespace-with-loadvars/195403 "2006-07-31T14:12:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![takethetrain](https://avatars.discourse-cdn.com/v4/letter/t/ba8739/32.png) [@takethetrain](https://forum.kirupa.com/u/takethetrain)\
**Post date:** [July 31, 2006, 2:12pm UTC](https://forum.kirupa.com/t/ignore-whitespace-with-loadvars/195403/1 "2006-07-31T14:12:28Z")

</div>

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.
