Talk:System.IOUtils.TPath.GetFileNameWithoutExtension

From XE2 API Documentation
Jump to: navigation, search

Should be clearer that extension is not included

Instead of "GetFileNameWithoutExtension extracts the name part of the given file name. The resulting string consists of the leftmost characters of FileName, starting with the first character after the colon or backslash that separates the path information from the name.", it should say, "GetFileNameWithoutExtension extracts the name part of the given file name without including the extension. The resulting string consists of the leftmost characters of FileName, starting with the first character after the colon or backslash that separates the path information from the name, and up to, but not including the extension. The period is considered part of the extension. If there is more than one period in the filename, the last one is considered to start the extension." Davidmarcus 13:42, 18 March 2012 (PDT)

Thank you for your input! We will make the necessary corrections. -- Denisa Tibeica