function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Aishwarya LondheAishwarya Londhe 

whats wrong in this code?

 List<string> countries = new list<string>();
        opportunity opp;
        Id oppId;
if(eatsSetting!= NULL && eatsSetting.CLM_Live_Countries__c !=null){
            countries = eatsSetting.CLM_Live_Countries__c.contains(';')?          eatsSetting.CLM_Live_Countries__c.split(';') :               eatsSetting.CLM_Live_Countries__c.split(',');
 }
if(eatsSetting != NULL && eatsSetting.CLM_Live_Countries1__c != NULL){
           countries = eatsSetting.CLM_Live_Countries1__c.contains(';') ?eatsSetting.CLM_Live_Countries1__c.split(';') : eatsSetting.CLM_Live_Countries1__c.split(',');
}
ravi soniravi soni
hi Aishwarya,
Need to complete code.
Thank you