Get First Sub Folder

(imported topic written by SystemAdmin)

Hi guys,

Trying to get the first sub folder of a folder. I can list the descendants with:

descendant folder of folder “/my/folder”

But as far as I can tell, this will return more than one answer if there’s more than one sub folder. How can I just pick out the first in the list? I don’t really care if the list is ordered, I just need one of the sub folders.

Thanks,

Lachlan Hillman.

(imported comment written by NoahSalzman)

I’m pretty sure there is a “prettier” way to do it, but this will work:

preceding texts of first “#@” of concatenation “#@” of (descendant folders of folder “/my/folder” as string)

(imported comment written by SystemAdmin)

That worked. Thanks very much.