void SetLength(PRUint32 aLength) { Truncate(aLength); }
void nsCString::SetLength(PRUint32 anIndex) { if ( anIndex > GetCapacity() ) SetCapacity(anIndex);    nsStrPrivate::StrTruncate(*this,anIndex); }
  void SetLength(PRUint32 aLength) {     Truncate(aLength);  }