Posted in file extention
1461
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
“We ought to take outdoor walks in order that the mind may be strengthened and refreshed by the open air and much breathing.".
Seneca
Random CSS Property

scroll-margin-block-end

The scroll-margin-block-end property defines the margin of the scroll snap area at the end of the block dimension that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container's coordinate space), then adding the specified outsets.
scroll-margin-block-end css reference