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
KnowledgeseekerKnowledgeseeker 

I need to parse out data in a field update formula

I need to parse out data from a Long text area field to capture the last comment added and update a Text Area field called "Most Recent Comment". Here is the format "2018-02-27 13:57:50 (EST) Comment Two2018-02-27 17:11:29 (EST) Comment One", where i need to parse out "2018-02-27 13:57:50 (EST) Comment Two", as it's the most recently added comment this includes the date/time stamp in the beginning of the comment. Please help.
Sorna JenefaSorna Jenefa
Hi

Please refer this below link

https://help.salesforce.com/articleView?id=000181626&type=1  --->this refer as the last Public Case Comment hour calculation using workflow

https://success.salesforce.com/answers?id=90630000000gjmnAAA --->this refer as the field last modifield date calculation

Thanks,
Jenefa
Sweet Potato Tec