while (from <= end) {
while (from < end) {
PRInt32 CompressChars2(char* aString,PRUint32 aLength,const char* aSet){   PRUnichar*  from = (PRUnichar*)aString;  PRUnichar*  end =  from + aLength-1;  PRUnichar*  to = from;    //this code converts /n, /t, /r into normal space ' ';    //it also compresses runs of whitespace down to a single char...  if(aSet && aString && (0 < aLength)){    PRUint32 aSetLen=strlen(aSet);    while (from <= end) {      PRUnichar theChar = *from++;      if((255<theChar) || (kNotFound!=FindChar1(aSet,aSetLen,0,theChar,PR_FALSE,aSetLen))){        *to++=theChar;        while (from <= end) {          theChar = *from++;          if(kNotFound==FindChar1(aSet,aSetLen,0,theChar,PR_FALSE,aSetLen)){            *to++ = theChar;            break;          }        }      } else {        *to++ = theChar;      }    }    *to = 0;  }  return to - (PRUnichar*)aString;}