Java String Whitespace Delete deleteWhitespace(String string)

Here you can find the source of deleteWhitespace(String string)

Description

delete Whitespace

License

Open Source License

Declaration

private static String deleteWhitespace(String string) 

Method Source Code

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

public class Main {
    private static String deleteWhitespace(String string) {
        return string.replaceAll("\\s", "");
    }/*from w  w  w . ja  va  2s .c o m*/
}

Related

  1. deleteWhitespace(String str)
  2. deleteWhitespace(String str)
  3. deleteWhitespace(String str)
  4. deleteWhitespace(String str)
  5. deleteWhitespace(String str)
  6. deleteWhitespaces(final String string)
  7. deleteWhiteSpaces(String nodeValue)