Re: Q: lefthand/right hand side of equation

*To*: mathgroup at smc.vnet.net*Subject*: [mg26907] Re: [mg26872] Q: lefthand/right hand side of equation*From*: BobHanlon at aol.com*Date*: Fri, 26 Jan 2001 23:29:49 -0500 (EST)*Sender*: owner-wri-mathgroup at wolfram.com

eqn=(a+b==c+d); l = eqn[[1]] a + b r = eqn[[2]] c + d Bob Hanlon In a message dated 2001/1/26 1:56:50 AM, robert.schuerhuber at gmx.at writes: >if i have an equation, how can i get the left/right hand side? > >e.g. > >eqn={a+b==c+d}; > >i'd like to get something like: > >l=a+b >r=c+d >