In case you missed the announcement: Alteryx One is here, and so is the Spring Release! Learn more about these new and exciting releases here!

Alteryx Designer Desktop Discussions

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

Text to Column - How to separate empty spaces?

Joker_Hazard
11 - Bolide

Morning everyone.

I am trying to separate empty spaces in a column, using Text to Columns tool with /s as delimiter. However nothing happens and I have no clue why is that.

Joker_Hazard_0-1652891785975.png


2022-05-17 02:43:52
2022-05-17 02:43:52
2022-05-17 11:46:09

The data is like that. Anyone can help me out in this endeavor?

I want an output like this:

2022-05-1711:46:09



Thanks

5 REPLIES 5
DataNath
17 - Castor
17 - Castor

You’re using /s (forward slash). It should be \s (backslash)! 

grazitti_sapna
17 - Castor

@Joker_Hazard , another way to achieve that is to press space in the delimiter section. But \s or space will only work if your field is string datatype.

grazitti_sapna_0-1652892087982.png

 

Thanks!

 

Sapna Gupta
grazitti_sapna
17 - Castor

@Joker_Hazard , the below method works for DateTime datatype as well. You can use the formula tool and use functions left and right to get the desired result.

grazitti_sapna_0-1652892329900.png

 

I hope this helps!

 

Thanks!

 

Sapna Gupta
Joker_Hazard
11 - Bolide

My gosh. I see I need more coffee and some rest. Thank you very much both of you!!

grazitti_sapna
17 - Castor

@Joker_Hazard, I am glad we could be helpful ðŸ™‚

 

Thanks!

Sapna Gupta
Labels
Top Solution Authors