1932 {
1933 if (pSelection.Count() == 0 || pCompName.
Length() == 0)
1934 {
1935 return false;
1936 }
1937
1938 for (int i = 0; i < pSelection.Count(); ++i)
1939 {
1941 if (pSelection[i] && pSelection[i].
GetName() == pCompName)
1942 {
1943 return true;
1944 }
1945 }
1946
1947 return false;
1948 }
proto native int Length()
Returns length of string.
proto int ToLower()
Changes string to lowercase. Returns length.