Posted in file extention
1462
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

View Function Post

add file name

Result

The extention for filename c:\windows\system32\progman.exe is exe

No Items Found.

Add Comment
Type in a Nick Name here
 
IP Address Lookup Geo Location
generate date time id stamp
restyle and shorten number
Return a file extention from a string
create a unique id from a html string
calculate a percentage difference based on two numbers
Generate a Random Username - Version 1
Other Items in file extention
Search Utilities
Search Utilities by entering your search text above.
Welcome

This is my test area for webdev. I keep a collection of code here, mostly for my reference. Also if i find a good link, i usually add it here and then forget about it. more...

Subscribe to weekly updates about things i have added to the site or thought interesting during the last week.

You could also follow me on twitter or not... does anyone even use twitter anymore?

If you found something useful or like my work, you can buy me a coffee here. Mmm Coffee. ☕

❤️👩‍💻🎮

🪦 2000 - 16 Oct 2022 - Boots
Random Quote

“Make no mistake: This is not your diary. You are not letting it all hang out. You are picking and choosing every single word.”


Dani Shapiro
Random CSS Property

word-spacing

The word-spacing CSS property sets the length of space between words and between tags.
word-spacing css reference