Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Questions relating to Apex, the native programming language for the Force.com platform. Use it for general questions on syntax, errors, constructs, and rules of use. Most questions should include a code *excerpt* to help answerers understand specifically what has gone wrong or why you need help.
0
votes
How to eval string expression in salesforce
Also you can try Script.apex(https://github.com/Click-to-Cloud/Script.apex)
Map context = new Map{
b1 => true,
b2 => false
};
Boolean result = (Boolean)ScriptEngine.getInstance().eval('b1 && …
0
votes
Functional programming utilities in apex
Pure functional programming is almost impossible in Apex currently. R.apex(https://github.com/Click-to-Cloud/R.apex) is a nice attempt to provide pseudo functional programming. …
0
votes
Apex: Date/DateTime.parse or valueOf string gets error
You can try Moment.apex(https://github.com/Click-to-Cloud/Moment.apex)
Datetime dt = new Moment('2018/01/12 10:00:00', 'yyyy/MM/dd HH:mm:ss').toDatetime();
0
votes
Utility Methods flexible enough for all sObject Types
Try R.apex(https://github.com/Click-to-Cloud/R.apex), and it provides tons of utility methods in a functional way. Code like this should work.
R.of(accountList).pluck('Description').toStringList()