1786 {
1787 if (pSelection.Count() == 0 || pCompName.
Length() == 0)
1788 {
1789 return false;
1790 }
1791
1792 for (int i = 0; i < pSelection.Count(); ++i)
1793 {
1795 if (pSelection[i] && pSelection[i].
GetName() == pCompName)
1796 {
1797 return true;
1798 }
1799 }
1800
1801 return false;
1802 }
proto native int Length()
Returns length of string.
proto int ToLower()
Changes string to lowercase. Returns length.