This is an action to construe a will. Petitioner Epworth Children’s Home holds a contingent remainder interest in a trust created by the will of R. P. Byrd, Sr. The Court of Appeals affirmed the trial court’s finding that the re*189mainder interest in question should pass by intestacy. Guaranty Bank and Trust Co. v. Byrd, 287 S. C. 96, 337 S. E. (2d) 231 (Ct. App.1985). We disagree.
R. P. Byrd, Sr., died testate in 1928. His will established a lifetime trust for each of his two sons, George and R. P., Jr. George died childless in 1981 survived only by his wife and his brother, R. P., Jr.
Item 3 of the will disposes of the remainder interests in the sons’ lifetime trusts as follows:
Should the said beneficiaries or either of them die leaving an [sic] wife and a child or children then the title to the property hereinbefore provided for them shall vest in fee simple in his or their heirs, provided, however that should the wife of either, or both of said beneficiaries die leaving no issue, child or children on [sic] my said son or sons, then the wife or wives of either of the said beneficiaries to be vested with only a life estate in the property hereinabove provided for my said sons, respectively, with remainder over, after their death to the Official Board of Epworth Orphanage, an institution of the Methodist Church located at Columbia, S. C., to have and to hold the same in fee simple for the benefit of the said institution. (Emphasis added).
This poorly drafted sentence has spawned years of litigation. Epworth claims that under the provided however clause, a son’s wife has a life estate and Epworth the remainder. R. P., Jr. (respondent), however, claims the provided however clause applies only when a son dies leaving a wife and child and then the wife dies before the child. R. P., Jr.’s theory is that because none of the contingencies mentioned in the will applies when a son dies leaving only a wife, George’s share must pass by intestacy. R. P., Jr., would take George’s share in fee simple if it passed by intestacy rather than under the will.
Our primary purpose in construing a will is to discover and give effect to the testator’s intent as derived from a reading of the will as a whole. May v. Riley, 279 S. C. 248, 305 S. E. (2d) 77 (1983). The will clearly expresses R. P. Byrd, Sr.’s intent that neither of his sons receive property unencumbered by a trust. It also expressly provides that his grandchildren take in fee simple property *190that his sons received only in trust. Contrary to the testator’s expressed intent, R. P., Jr.’s proposed construction would result in the disinheritance of grandchildren if a son died survived only by children and no wife.
We find the testator’s intent to be that Epworth receive the remainder interest in a son’s trust if a son died survived by a wife but no children. This construction is consistent with the presumption against intestacy which governs us in construing a will. Dabney v. Estes, 262 S. C. 336, 204 S. E. (2d) 387 (1974).
Our construction is also consistent with the view of the late Honorable L. D. Lide, Resident Judge of the Twelfth Judicial Circuit, who construed this same provision of R. P. Byrd, Sr.’s will in an unappealed 1944 order. Because the issue of disposition of the remainder interests was not actually litigated in the 1944 action, Judge Lide’s finding is dictum and cannot operate to collaterally estop determination of the issue in this case. See Lowe v. Clayton, 264 S. C. 75, 212 S. E. (2d) 582 (1975). We agree, however, with his interpretation of this provision of the will.
Accordingly, the judgment of the Court of Appeals is reversed and the case is remanded to the trial court for entry of judgment for Petitioner Epworth Children’s Home.
Reversed and remanded.
Ness, C. J., and Chandler and Finney, JJ., concur. Harwell, J., not participating.