Do you know a java method to expand the chars of a text into spaces?
My text:
1. <tab> firstpoint <tab> page 1
10. <tab> secondpoint <tab> page 10
If I directly replace the tab by, let say, 4 spaces, I will have
1. firstpoint page1
10. secondpoint page2
Instead of it, I need a method to replace each tab by the number of spaces it really corresponds to (as the command :retab of vim does). Any solution?