Posted in
2020
5:37 am, December 2, 2022
Return a file extention from a string
This is a limited function, and it has an issue where if there is more than one . in the string it may return not the file extention, but it basically extracts the ".txt" or the end part after the dot from a string.
Test 1 - like.txt Test 2 - c:\windows\system32\progman.exe