-
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
Drive Higher Channel Sales and Manage Partner Relationships with DemandBlue's Salesforce Experience Cloud Implementation
Regardless of your industry, it is apparent that today’s customers expect “as given” a digital self-service capability for their B2B buying process. Your channel partners…
Why MuleSoft is the Perfect Integration Platform for Your Business?
Organizations integrate their business applications primarily to expand their business operations and reach their customers quickly. But integration doesn't just involve the systems and services;…
Introduction of Leaflet Map in Salesforce Lightning Component
The Leaflet is an open-source JavaScript library that is used for mobile-friendly interactive maps. It has all the mapping features. It works very well across…
Popular Salesforce Videos
Build Your First Salesforce IoT Project in 20 Minutes
Join us to see how you can build your first Salesforce IoT orchestration in less than 20 minutes! You will learn a quick overview of…
What is Vlocity (Salesforce Industries) and How It Can Help You Save Millions?
Know What is Vlocity (Salesforce Industries) & How It Can Help You Save Millions with Salesforce Hulk i.e Shrey Sharma in this live webinar. Discover…
How to Trigger the Lead Assignment Rule from Flow Builder
In this video, we will talk about how to trigger the lead assignment rule from the flow builder Salesforce. Here is the timestamp for your…