-
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
Deploying Custom Field and Custom Object Through Change Set | Salesforce Developer Guide
In this top salesforce blog, we will be discussing, Deploying Custom Field and Custom Object Through Change set in salesforce. The fields can be sorted…
Learn About Salesforce Deployment Using Change Set
Salesforce Deployment Using Change Set To handle alter set arrangement from sandbox to generation, take after the informational recorded below. By utilizing alter sets we…
Salesforce Summer '22 Release Features
Salesforce is back with its Summer ‘22 release notes. Salesforce releases updates on a regular basis to enhance the productivity, consistency, reliability, and availability of…
Popular Salesforce Videos
Sculptor CPQ for Salesforce
Sculptor CPQ (Configure-Price-Quote) for Salesforce CRM-based businesses allows to reduce the length of the sales cycle and generate quotes 2X faster. Smart and intuitive product…
4 Benefits of Salesforce Data Services (ETL)
When your enterprise needs to integrate data from a different application, Salesforce Data Services will help your company in Extracting, Transforming, and Loading the gathered…
What are Queues in Salesforce? | How to create queues and assign records to it in Salesforce?
This video explains Queues in Salesforce by dividing this topic into 5 basic points, which are: 1. What purpose do queues solve? 2. What are…