inline PRInt32 RFindChar2(const char* aDest,PRUint32 aDestLength,PRUint32 anOffset,const PRUnichar aChar,PRBool aIgnoreCase) {
inline PRInt32 RFindChar2(const char* aDest,PRUint32 aDestLength,PRInt32 anOffset,const PRUnichar aChar,PRBool aIgnoreCase,PRInt32 aCount) {
inline PRInt32 RFindChar2(const char* aDest,PRUint32 aDestLength,PRUint32 anOffset,const PRUnichar aChar,PRBool aIgnoreCase) {  PRInt32 theIndex=0;  PRUnichar*  theBuf=(PRUnichar*)aDest;  if(aIgnoreCase) {    PRUnichar theChar=nsCRT::ToUpper(aChar);    for(theIndex=(PRInt32)anOffset;theIndex>=0;theIndex--){      if(nsCRT::ToUpper(theBuf[theIndex])==theChar)        return theIndex;    }  }  else {    for(theIndex=(PRInt32)anOffset;theIndex>=0;theIndex--){      if(theBuf[theIndex]==aChar)        return theIndex;    }  }  return kNotFound;}