Trims input in getInput.

Renamed printSetActionResults to printSetOperationsResults.