Stack Overflow на русском Asked on November 30, 2021
if(str != null && !str.isEmpty()) {
// do something
}
Проверьте на null и на наличие символов в строке, как на примере выше
Answered by Sergei Buvaka on November 30, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP