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
Sanjeev R 1Sanjeev R 1 

String Split in field update workflow (foumula)

I have a field update workflow... the source field in having like below

xxxxxxxxxxxxxxxxxxxxxxxxx ABCD: yyyyyyyyyyyyyyyyyyyyy

x denotes can vary in length. ( this is some data here )
ABCD: is fixed characters sufix some data again I m denoting that by "y"  here

I need to split data and need only things before "ABCD:"

is that possible in field update... please guide me for the workaround..

Thanks in advance
RamuRamu (Salesforce Developers) 
use this formula

left( TEXTBOX__c ,find('ABCD', TEXTBOX__c )-1)
Sanjeev R 1Sanjeev R 1
hi Ramu,
I treid this but its not returning anything
RamuRamu (Salesforce Developers) 
Hi, I tested this on my test org and it did worked. Please check if the workflow criteria is met.