Add text function for formatResult and formatSelection
Remove added line
Merge pull request #2415 from santialbo/text-function

Add text function for formatResult and formatSelection