Community Halloween is live until October 31st! Complete any 2 quick activities to earn the 2025 Community Halloween badge. Feeling brave? Check out the activities here
Start 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
binu_acs
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
15 - Aurora

@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

binu_acs
21 - Polaris

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

Labels
Top Solution Authors