Java String Underscore to underscoreToSpace(String text)

Here you can find the source of underscoreToSpace(String text)

Description

Substitutes all underscores by space character

License

Open Source License

Declaration

public static String underscoreToSpace(String text) 

Method Source Code

//package com.java2s;
/*/* www .  ja  v  a 2  s  . c o m*/
 * StringUtil.java
 *
 * Copyright (c) 2005-2009 Andrew Krizhanovsky <andrew.krizhanovsky at gmail.com>
 * Distributed under GNU Public License.
 */

public class Main {
    /** Substitutes all underscores by space character */
    public static String underscoreToSpace(String text) {
        return text.replace('_', ' ');
    }
}

Related

  1. underscoresToCamelCaseImpl(String input, boolean capNextLetter)
  2. underscoresToSpaces(String value)
  3. underscoreToCamel(String input, boolean firstLetterUppercase)
  4. underscoreToCamelCase(String wordConstruct)
  5. underscoreToPascalCase(final String str)
  6. underscoreToSpace(String value)