How to cut out Text when write line? Help

Hi,

when i Get files after that i want to write Text “QueryCompany18102022” Only (date not the same)

please advise

Hi @punnipah

You can try with

Path.GetFileNameWithoutExtension(Item.Tostring)

Regards
Gokul

1 Like

Tkank you Very much

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.