Showing results for 
Search instead for 
Did you mean: 

using compute function to generate a flag

using compute function to generate a flag



looking to create a True/False flag though compute to search a string for a smaller subset of the string and return true/false.


I have the string AB-CDE-123456 and need to return TRUE if the string contains

"CDE" in any location in the string.


tried @header@ = "*CDE*" but this does not seem to work. does Paxata handle wildcard characters differently? 



1 Reply
DataRobot Alumni

you can first choose compute  
Screen Shot 2022-08-08 at 1.44.02 PM.png 

then, here is an example

Screen Shot 2022-08-08 at 1.42.42 PM.png