經安全檢測,此網站為安全網站,請放心前往原始網址!

Trim for null string - Activity Stream - Java Programming Forum - Learn Java Programm

Originally Posted by laosu Got it, thanks for your reply. If i have a string variable that get the NULL value from database, what is the best way to check before to trim it? Java Code: if (myString != null) { myString = myString.trim(); } // or myString =

www.java-forums.org

網址安全性掃描由 google 提供