Name of file and its suffix [closed]
开发者_开发知识库
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this questionIs suffix ( for example .jpg or ,txt ) a part of file name ?
for example I have this file : "picture.jpg", what is file name in this file ? thanksYes,these suffixes are the part of the file name,as they are the formats
in which the files are saved on to your computer,From here
Filename extensions can be considered a type of metadata. They are commonly used to imply information about the way data might be stored in the file. The exact definition, giving the criteria for deciding what part of the file name is its extension, belongs to the rules of the specific filesystem used; usually the extension is the substring which follows the last occurrence, if any, of the dot character (example: txt is the extension of the filename readme.txt, and html the extension of mysite.index.html).
Read about it here: http://en.wikipedia.org/wiki/Filename_extension
A filename extension is a suffix to the name of a computer file applied to indicate the encoding convention (file format) of its contents.
精彩评论