1799 {
1800 if (pSelection.Count() == 0 || pCompName.
Length() == 0)
1801 {
1802 return false;
1803 }
1804
1805 for (int i = 0; i < pSelection.Count(); ++i)
1806 {
1808 if (pSelection[i] && pSelection[i].
GetName() == pCompName)
1809 {
1810 return true;
1811 }
1812 }
1813
1814 return false;
1815 }
proto native int Length()
Returns length of string.
proto int ToLower()
Changes string to lowercase. Returns length.