String beforedz = ‘doozy-spot’;
String afterdz= StringName.substringAfter(‘-‘);
System.assertEquals( ‘spot’, afterdz);
Related Articles
Chrome Browser Extensions for Web Page Auto Refresh
Auto Refresh Plus Refresh page automatically with powerful page monitor features Auto Refresh Plus comes in handy to any user who needs to perform automatic web page refresh at certain times efficiently. It also provides content detection support, which is useful when monitoring content included in a dynamic web page. Key Features (1) Default Time […]
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 […]
Retirement Planning
What are my options: Roth IRA Index Funds Source: Image source twitter