Sanitise user input?
Is there a built-in way to sanitise user input? 
Would prefer to use something widely tested rather than rolling my own solution. I've been looking through the wiki but haven't found anything yet.