1793 {
1794 if (pSelection.Count() == 0 || pCompName.
Length() == 0)
1795 {
1796 return false;
1797 }
1798
1799 for (int i = 0; i < pSelection.Count(); ++i)
1800 {
1802 if (pSelection[i] && pSelection[i].
GetName() == pCompName)
1803 {
1804 return true;
1805 }
1806 }
1807
1808 return false;
1809 }
proto native int Length()
Returns length of string.
proto int ToLower()
Changes string to lowercase. Returns length.