title: How to determine the tab character size in spaces?
body: <p>I understand that the tab character ('\t') size depends on where you output it. 
  But how would you programmatically measure it? That is: how to find the number of spaces needed to print an equivalent '\t' character? </p>