-
Accidently splitting an empty string on some specific character returns a list of size One
Why splitting of empty string on some specific character returns a list of size One? What does this list contain if it has size One?
Sample code:`string s='';
list<string> str = s.split(',');
if(str.isEmpty()){
system.debug('Hello i am empty');
}
else{
system.debug('oops');
}
Log In to reply.
Popular Salesforce Blogs
Which Industries Can Use Salesforce in 2024?
In today’s digital age, businesses across various sectors are constantly seeking innovative ways to enhance customer relationships, optimize operations, and drive growth. Salesforce, a robust…
Mastering Salesforce Packages: Managed vs. Unmanaged
Salesforce packages simplify application development, deployment, and distribution in the Salesforce ecosystem. This blog explores Salesforce packages, their significance for administrators, developers, and users. We'll…
What Makes Teqfocus Your Perfect Salesforce Partner
When you ask yourself the question of which Salesforce company is the best in India and which company should you consider as the perfect Salesforce…
Popular Salesforce Videos
How to Use Dispatcher Console in Salesforce Field Service? | Elevate Field Service Delivery | AblyPro
Dispatcher Console makes field service delivery easy for your business. Using the Dispatcher Console included in the Field Service package, your dispatchers can easily schedule,…
Salesforce Building Blocks with Accenture and OwnBackup
Join experts from Accenture, OwnBackup and Copado for a panel on the future of low-code SaaS. Get key building blocks that fuel Salesforce success and…
Which Salesforce Certifications are Really Important?
If you really want to know which Salesforce certifications are really important then this video is for you. If you have any doubts or concerns,…