Hi,<br/><br/><b>Whoever told you that</b> was lying.<br/><br/>I think the bold part is a noun clause functioning as a subject.<br/><br/>Am I correct?<br/><br/>Thanks.