Java Object NVL NVL(String value, String replace)

Here you can find the source of NVL(String value, String replace)

Description

NVL

License

Open Source License

Declaration

public static String NVL(String value, String replace) 

Method Source Code

//package com.java2s;

public class Main {

    public static String NVL(String value) {
        return (value == null ? "" : value.trim());
    }/*  w ww  . j ava 2 s .  c  om*/

    public static String NVL(String value, String replace) {
        return (value == null || value.equals("") ? replace : value.trim());
    }
}

Related

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