Here's how ya do it:
Tune up the string and then play it at the 12th fret.

If the note at the 12th fret is sharp
the string is too
short.
Make the string
longer by moving the saddle away from the neck.
Tune up the string and try again.
If the note at the 12th fret is flat
the string is too
long.
Make the string
shorter by moving the saddle towards the neck.
Tune up the string and try again.