Select Childs Within A Group Parent

Hello,

What is the syntax to select an object inside a group?

if i create a sphere and group it, then duplicate the group, ill have the following:

group1
---pSphere1
group2
---pSphere1

now if you type: select pSphere1;
you'll get an error: // Error: line 1: More than one object matches name: pSphere1 //

I tried: select group1|pSphere1;

But that also gave an error: // Error: line 1: No object matches name: group1|pSphere1 //

How can i select an object from a particular group?

Thanks for any help.

try this:

select |group1|pSphere1;

You must write a root to your object. You need to use | symbol.

CODE
select pSphere1|pSphere1;

Oops! Sorry gmask

Excellent guys.

I didnt realise you needed the "|" at the front of the group name.
Hence why group1|pSphere1 didnt work.

Many thanks for the help