Here you can find the source of nvl(String value)
public static String nvl(String value)
//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(); } } }