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

Parse FileName from FullPath

BautistaC888
8 - Asteroid

Hello,

I receive a list of FullPaths and i need to extract the FileName.

BautistaC888_0-1633630580075.png

If anyone could help with a way to parse the name i will appreciate it (The last "\" will be the delimiter).

4 REPLIES 4
atcodedog05
22 - Nova
22 - Nova

Hi @BautistaC888 

 

You dont need regex you can directly use formula FileGetFileName([Field1])

 

atcodedog05_0-1633630847182.png

 

Hope this helps : )

ChrisTX
16 - Nebula
16 - Nebula

Try this function in a Formula tool:

 

FileGetFileName(Path): Returns the name portion of the path, without the extension.

 

 

List of all functions:  https://help.alteryx.com/20213/designer/functions-quick-reference

 

Chris

mceleavey
17 - Castor
17 - Castor

Hi @BautistaC888 ,

 

You can do this in a formula:

 

mceleavey_0-1633630979993.png

 

M.



Bulien

atcodedog05
22 - Nova
22 - Nova

Hi @BautistaC888 

 

Also adding a regex method. 

 

atcodedog05_0-1633631146117.png

 

Hope this helps : )

Labels