Which command is used to check the text in a position?

Which command is used to check the text in a position ?