why is argx taking out single quotes instead of returning -1

Hi,

I’m parsing a files list originated through
lf >FolderImport

I then take out the double quotes in a following eval and then in the third eval I
argx("$V",-1,".") to try and extract the extension

all file names that have a single quote ’ in their name, instead of argx’ing to the . part return the entire name but without the ’

Why? Is this a bug?

see attached.
base1.tox (2.75 KB)

it might be a bug, I’ll have to take a look at it later, but for now, a quick fix is to replace the formula in your NoQuotes evaluate DAT with

`substitute(substitute("$V",'"',""),"'","\'")`

Selina