Go to: Synopsis. Return value. MEL examples.
string longNameOf(string $object)
None
// Create a sphere. // string $spheres[] = `polySphere -name "sphere1"`; string $sphere = $spheres[0]; longNameOf($sphere); // Result: |sphere1 //