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.
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.
解决方案 »
- mysql odbc 3.51.12 无法挽救的故障??
- 如何定义控件里面的全局变量和在调用程序里面使用?
- 如何锁定DBGird
- 财务软件、进销存及源代码
- 请问该如何用Delphi写DLL,并在其中写回调函数!
- StringGrid和DrawGrid有和不同?StringGrid列怎么居中对齐?
- 我用showwindow函数隐藏了桌面和任务栏,为什么只要双击鼠标,开始菜单会弹出?
- 请教如何实现当MOUSE点中窗体的某一部分并移动MOUSE时可以移动窗体,而不需要点中窗体的标题栏才可以移动窗体???
- 关于开发中使用的快捷键的问题
- MainMenu 控件怎样才能增加MenuItem的背景颜色或划线条?
- 用于检测网络情况!
- 关于SQL SERVER2000数据恢复的问题,请大虾指点
1楼,2楼的两位,你们对 ExtractFileName() 的解释似乎有点问题,对吗?