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

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
There is a qualitative and quantitative difference between a day that begins with a little exercise, a book, meditation, a good meal, a thoughtful walk, and the start of a day that begins with a smartphone in bed.
Unknown
Random CSS Property

:dir()

The :dir() CSS pseudo-class matches elements based on the directionality of the text contained in them.
:dir css reference