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
Laura Boyd 18Laura Boyd 18 

Splitting Street address across formula fields

Hi,

Due to an intergration we are trying to run between an old third party system and Salesforce, I need to split the value of the street field in Salesforce into multiple formula fields. 

Based on another post, I have this working with the below code if the user enters a comma at the end of the line. Ideally though, I want it to do the split based on the "end of the line". Is there some sort of end of line character that I could replace the comma with in my forumla?
 
LEFT(BillingStreet, FIND(",",BillingStreet)-1)
Mid(TRIM(BillingStreet), FIND(",",TRIM(BillingStreet))+2, FIND(",",TRIM(BillingStreet),FIND(",",TRIM(BillingStreet))+2) - FIND(",",TRIM(BillingStreet)) -2)


Thanks,
Laura

Rahul KumarRahul Kumar (Salesforce Developers) 
Hi Laura,

May I request you please refer the below link for reference. Hope it helps.

Please mark it as best answer if the information is informative.so that question is removed from an unanswered question and appear as a proper solution.

Thanks
Rahul Kumar