1、
Returns a copy of a string in uppercase.UnitSysUtilsCategorystring handling routinesfunction UpperCase(const S: string): string;DescriptionUpperCase returns a copy of the string S, with the same text but with all 7-bit ASCII characters between 'a' and 'z' converted to uppercase. To convert 8-bit international characters, use AnsiUpperCase instead.
2、
Extracts the name and extension parts of a file name. UnitSysUtilsCategoryfile name utilitiesfunction ExtractFileName(const FileName: string): string;DescriptionThe resulting string is the rightmost characters of FileName, starting with the first character after the colon or backslash that separates the path information from the name and extension. The resulting string is equal to FileName if FileName contains no drive and directory parts.Note: This function works for multi-byte character systems (MBCS).3、
Truncates a real number to an integer.UnitSystemCategoryarithmetic routinesfunction Trunc(X: Extended): Int64;DescriptionThe Trunc function truncates a real-type value to an integer-type value. X is a real-type expression. Trunc returns an Int64 value that is the value of X rounded toward zero.If the truncated value of X is not within the Int64 range, an EInvalidOp exception is raised.