Hi All,

This is a very basic q, but i am kinda stuck now in my code.
My Appln reads from a file which contains tabs as well as spaces between words, Now when this application ( in various platforms) reads this file it treats the tab character (\t ot ^I) in various ways. like in Windows it is putting a box character or in SOlaris it is totlly ignoring , which is spoiling the alignment while displaying the file.

Is there any way to convert this tab in right no of spaces independent of the platform as I have notice in some OS a tab is equal to 4 spaces & in some as 8.
How can i recognize this thing & replace accordingly.

THanks
Nimisha