Testing whitespace

Subject: Testing whitespace
From: Jany Quintard <quintard.j@xxxxxx>
Date: Fri, 10 Mar 2000 13:27:43 +0100 (CET)
When processing the content (character data) of an element, I want to know
if this element contains only space characters. It is easy to use a loop
to check if each character is equal to #\space.
But, a space can also be a newline, a tabulation and so on.
So, is there a best way to check spaces (I guess using properties) than
comparing a character to a list of values ?

TIA. Jany

 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist

Current Thread