Field to use for inputs of ft and inches

Field to use for inputs of ft and inches

What is the best field to use when you want user to input  data in like ft and inches. Can I use a  single field and have the string (') as a seperator. So it will show up like 5'6 when user input a data? 

I dont want to use 2 seperate fields.

And can I then write a code to seperate these number for the calculations?