Java Tab Expand expandTabs(String str)

Here you can find the source of expandTabs(String str)

Description

expand Tabs

License

Open Source License

Declaration

public static String expandTabs(String str) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static String expandTabs(String str) {
        return str.replace("\t", "    ");
    }/* ww  w  .j a  va  2 s.c o  m*/
}

Related

  1. expandTabs(int ntabs)
  2. expandTabs(String inputString, int numberOfSpaces)
  3. expandTabs(String s, int tabSize)
  4. expandTabs(String string, int tabSize)
  5. expandTabs(String text, int tabSize)
  6. expandTabs(String text, int tabWidth)