CCP 865     

Art. 865.  Construction of pleadings

Every pleading shall be so construed as to do substantial justice.