String beforedz = ‘doozy-spot’;
String afterdz= StringName.substringAfter(‘-‘);
System.assertEquals( ‘spot’, afterdz);
Related Articles
Query to find Permission sets assigned to Users
DescriptionBelow is the SOQL query we can create using Workbench to capture the Permission Sets associated with a given User or Profile via the Permission Set Assignment object ResolutionQuery: SELECT Id, PermissionSetId, PermissionSet.Name, PermissionSet.ProfileId, PermissionSet.Profile.Name, AssigneeId, Assignee.Name FROM PermissionSetAssignment WHERE Assignee.Name = ‘JOHN SMITH’ Or retrieve all users associated with a specific PermissionSet like: SELECT Id, PermissionSetId, PermissionSet.Name, PermissionSet.ProfileId, PermissionSet.Profile.Name, AssigneeId, Assignee.Name FROM PermissionSetAssignment WHERE PermissionSet.Name = ‘Custom […]
Salesforce Retire | End of life (EOL) of Permissions on Profiles
Salesforce announcing the end of life (EOL) of permissions on profiles/ Retire Permissions on Profile that will be the Spring ’26 releaseProfiles will still exist; however, permissions on profiles will EOL and permissions will be available only on permission sets. Before we dive into what’s new with Spring ‘23, here’s a quick reminder of what […]
Salesforce Mass Email Limitations
See the limitations for sending mass emails. You can send mass email to a maximum of 5,000 external email addresses per day per licensed Salesforce org based on Greenwich Mean Time (GMT). The following limitations also apply to mass emails.