Select > Convert Selection > To Vertex Perimeter

Converts the current component selection (vertices, UVs, edges. or faces) to a border of vertices along its perimeter.

Note: This command is also available from the polygon marking menu. ( + -click whenever a polygon component is selected.)