Timeline for Logically comma separating address field to form a String
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 18, 2017 at 1:03 | comment | added | Eric | @SfdcBat - sfdcfox's method is the one guaranteed to work. This answer while it works requires multiple line updates to add or remove values. In addition to the above comments. Also, a reusable utility method would be more useful than code for a specific scenario | |
May 18, 2017 at 0:32 | comment | added | SfdcBat | @sfdcfox thank you for the comment. I did feel that I could make a mistake with the curly braces missing. I have actually used what Eric had given as solution as it had just 4 lines of code | |
May 18, 2017 at 0:29 | comment | added | sfdcfox♦ | @SfdcBat please don't pick up bad programming habits. The body of an if statement should always be a proper block with { and }. This is perfectly fine logic, but writing compact code like this isn't recommended. It's too easy to make mistakes. | |
May 18, 2017 at 0:00 | vote | accept | SfdcBat | ||
May 18, 2017 at 5:44 | |||||
May 17, 2017 at 23:05 | history | answered | Santanu Boral | CC BY-SA 3.0 |