示例#1
0
        public int IndexOfStartsWithI(string val)
        {
            int iFound = -1;

            if (arrobjects != null)
            {
                for (int iNow = 0; iNow < Count; iNow++)
                {
                    if (RString.CompareAtI(Peek(iNow), val, 0, RString.SafeLength(val), true))
                    {
                        iFound = iNow;
                        break;
                    }
                }
            }
            return(iFound);
        }        //end IndexOfStartsWithI