nsAutoString tail = sequence;
nsAutoString tail( sequence );
SI_InSequence(const nsString& sequence, PRInt32 number){  nsAutoString tail = sequence;  nsAutoString head, temp;  PRInt32 separator;  for (;;) {    /* get next item in list */    separator = tail.FindChar(',');    if (-1 == separator) {      return PR_FALSE;    }    tail.Left(head, separator);    tail.Mid(temp, separator+1, tail.Length() - (separator+1));    tail = temp;    /* test item to see if it equals our number */    PRInt32 error;    PRInt32 numberInList = head.ToInteger(&error);    if (!error && numberInList == number) {      return PR_TRUE;    }  }}