in reply to Re^3: How do I replace \t and regarding to the alignment requirement ?
in thread How do I replace \t and regarding to the alignment requirement ?

Yes I want to restart counting offset on newline,sorry for missing that!
  • Comment on Re^4: How do I replace \t and regarding to the alignment requirement ?

Replies are listed 'Best First'.
Re^5: How do I replace \t and regarding to the alignment requirement ?
by JavaFan (Canon) on Apr 19, 2012 at 14:30 UTC
    The trivial way to doing that is to split the string on newlines, tabify each line, than join them with newlines again.
    A reply falls below the community's threshold of quality. You may see it by logging in.