How can I get text after the last dot in a string

How i can get the “.xlsx” from the following string?
“\spl-vmappldev\appldev\UiPath\MC\DWH_Centralized.Download\Output\OG010103.xlsx”

1 Like

Hey @AndreaKo,

Could you please try the below…

path.GetExtension(<filepath or filepath variable>)

Hope this helps.

Thanks

#nK