-
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
Driving Your Innovation Process With an Ideas Management Software | Salesforce
Have you ever thought about how organizations innovate? Well, every innovation was once just an idea and ideas come your way when least expected. The…
All You Need to Know About No Code Salesforce and PayPal Integration
Cyber attacks can lead to loss of revenue, data, and overall business viability, making cyber security crucial for e-commerce. PayPal is dedicated to revolutionizing financial…
First Step to as a Salesforce Developer
So the things would get exciting now. I'll first accomplish the Customization part and then gradually move on to the Programming aspect. You have an…
Popular Salesforce Videos
How To Use Javascript Editor In Formstack Part 1 - Learn Salesforce Series By Algoworks
Learn how to integrate Javascript editor in Formstack in this Salesforce tutorial brought to you by Algoworks. In this video, you will learn how to-…
Salesforce Health Cloud – Creating Patient Relationships Not Records
Unfortunately, the gruesome truth facing the world today is the ever increasing pressure of diseases due to chronic disorders, pollution, growing age, and definitely increasing…
Salesforce Admin Certification Questions and Explained Answers with References to Trailblazers
A Salesforce Admin Certification is the highest form of recognition a Salesforce Administrator can achieve; it demonstrates expertise in the field as well as a…