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
jvolkovjvolkov 

SUBSTITUE Multiple Values

I know you can create one formula to find whether or not a field CONTAINS any one of multiple values.
Code:
CONTAINS( "AK:AZ:CA:HA:NV:NM:OR:UT:WA", State)
Returns TRUE if State is contains any of those values.
 
Is there a way to create a similar formula for SUBSTITUTE like...SUBSTITUTE (State, "California:Cal:Californai:C", "CA")?
 
Instead of having to rewrite the formula for each value then having multiple formulas that use precious characters.
 
-Thanks
ecastilloecastillo

jvolkov, did you ever find away to accomplish this? I'm in need of a solution for this as well.

 

Thanks.