Fileext
From NEC Retro
Revision as of 15:26, 31 December 2021 by Ccawley2011 (talk | contribs)
Revision as of 15:26, 31 December 2021 by Ccawley2011 (talk | contribs)
This template returns the file extension of a file link or url.
Examples
Code | Result |
---|---|
{{fileext|Filename.txt}} |
txt |
{{fileext|https://necretro.org/skins/foreground/assets/img/necretro-logo.png}} |
png |
{{fileext|Not a file name}} |
|
{{fileext|String ending with a stop.}} |