I want to create an address field where I can fill in the complete address but when I save it the street number should be deleted.
eg. Victoria Secret Lane 145
I want to remove 145 from the same.
(field name)
Stra_e_Hausnr_Privat__c != null
update field ........
SUBSTITUTE(Stra_e_Hausnr_Privat__c, LEFT(Stra_e_Hausnr_Privat__c, FIND("0-9", Stra_e_Hausnr_Privat__c)), "5")
or
TRIM(LEFT(Stra_e_Hausnr_Privat__c, (9)))
I only want to remove the digits or numbers..... "Victoria Secret Lane 145 " only "Victoria Secret Lane"
1 answer
Hi Kailash
Will the users always fill in the street number at the end? There is nothing stopping them from using 145 Victoria Secret Lane then we dont know where exactly you need to trim the value from/