Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

How do I remove a fixed character from a column?

phoebe_90
8 - Asteroid

For example, I want to remove "Customer" from the column named "Number". Maybe there will be some space between the character and number.

 

Before:

Number
706420Customer
709382
112102 Customer
665946
987456  Customer

After:

Number
706420
709382
112102
665946
987456
2 REPLIES 2
binuacs
21 - Polaris

@phoebe_90 Use the Replace() function 

 

Replace([number],"Customer", "")

Bren_Spill
12 - Quasar
12 - Quasar

Trim([Number],"Customer")

 

image.png

Labels