nsACString::const_iterator begin, end;
nsAString::const_iterator begin, end;
CountCharInReadable( const nsACString& aStr,                     char aChar ){  PRUint32 count = 0;  nsACString::const_iterator begin, end;    aStr.BeginReading(begin);  aStr.EndReading(end);    while (begin != end) {    if (*begin == aChar) {      ++count;    }    ++begin;  }  return count;}