Here you can find the source of expandTabs(String str)
public static String expandTabs(String str)
//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*/ }