Java Object NVL nvl(String value)

Here you can find the source of nvl(String value)

Description

nvl

License

Open Source License

Declaration

public static String nvl(String value) 

Method Source Code

//package com.java2s;

public class Main {

    public static String nvl(String value) {
        if (value == null) {
            return "";
        } else {// w ww. j a  va 2s. co  m
            return value.trim();
        }
    }
}

Related

  1. nvl(String source, String defaultString)
  2. nvl(String str)
  3. nvl(String str, String nullString)
  4. NVL(String str, String replace)
  5. nvl(String string)
  6. nvl(String value, String defaultValue)
  7. NVL(String value, String replace)
  8. nvl(String x, String y)
  9. nvl(T mainValue, T... fallbackValues)