Missed the Q4 Fall Release Product Update? Watch the on-demand webinar for more info on the latest in Designer 24.2, Auto Insights Magic Reports, and more!
Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

How to use startswith() if want to extract a column start with a string

XXX_Rosy_XXX
7 - Meteor

How to use startswith() if want to extract a column start with a string

4 REPLIES 4
binuacs
21 - Polaris

@XXX_Rosy_XXX StartsWith() function is for specific string, for example you wanted to find all the strings starting with the letter S then you can use StartsWith([Field],’S’), if you want it in a generic then use Regex formula

XXX_Rosy_XXX
7 - Meteor

below formula not doing anything. I want to replace those start with any string to be blank. If starts with number remains

 

if REGEX_Match([Specific Location],"\<[a-zA-Z]") then "" else [Specific Location]
endif

aatalai
14 - Magnetar

@XXX_Rosy_XXX I would use the filter tool with StartsWith([Field],’what you want’)

 

and then use regex or some parse tool from the true output. Try and let me know how it goes

binuacs
21 - Polaris

@XXX_Rosy_XXX in your regex formula update ^\D.*

Labels
Top Solution Authors