| SysUtils unit |
| DELPHI RTL Reference |
Types:
TFloatFormat type
An enumerated list of formatting codes for float functions.TFormatSettings type
Defines a data structure containing locale information used by string formatting routine.Procedures/Functions:
Abort function
Terminates the current execution path without reporting an error.AdjustLineBreaks function
Returns the string with all line breaks converted to true CR/LF sequences.Beep procedure
Generates a conventional message beep.BoolToStr function
Returns a string from a boolean value.ChangeFileExt function
Changes the extension part of a string containing full path and file name.CompareStr function
Compares two strings.CompareText function
Compares two strings without case sensitivity.CurrToStr function
Converts a currency value to a string.Date function
Returns the current system date.DateToStr function
Converts a TDateTime value to a string (date part only).DateTimeToFileDate function
Converts a TDateTime value to a system timestamp value.DateTimeToStr function
Converts a TDateTime value to a string (date and time).DayOfWeek function
Returns the day of the week for a given date.DecodeDate function
Separates Year, Month, and Day values from a TDateTime value.DecodeTime procedure
Separates Hour, Minute, Second, and MilliSecond values from a TDateTime value.DeleteFile function
Deletes a specified file.DirectoryExists function
Returns True if a specified directory exists.DiskFree function
Returns the amount of free space in bytes on a specified drive.DiskSize function
Returns the size in bytes of a specified drive.EncodeDate function
Creates a TDateTime value from Year, Month, and Day values.EncodeTime function
Creates a TDateTime value from Hour, Min, Sec, and MSec. values.ExcludeTrailingBackslash function
Removes '\' from the end of a string if it is there.ExpandFileName function
Retrieves the full path and filename of a specified (relative) file.ExpandUNCFileName function
Retrieves the full path and filename of a specified (relative) file using Universal Naming Convention for network files.ExtractFileDir function
Returns only directory or drive information parts of a string containing full path and file name.ExtractFileDrive function
Returns only drive part of a string containing full path and file name.ExtractFileName function
Returns only file name and extension parts of a string containing full path and file name.ExtractFileExt function
Returns the extension part of a string containing full path and file name.ExtractFilePath function
Returns the drive and directory parts of a string containing full path and file name.ExtractShortPathName function
Returns 8.3 format for a given full path and file name.FileAge function
Returns the system time stamp of a file.FileDateToDateTime function
Converts the system time stamp of a file to a TDateTime valueFileExists function
Checks whether a specified file exists.FileGetAttr function
Retrieves the attributes of a specified file.FileSetAttr function
Sets the attributes of a specified file.FileSetReadOnly function
Sets the read-only status of the specified file.FindCmdLineSwitch function
Returns True if a specified string was passed as a command line argument.FloatToDateTime function
Returns a TDateTime value from a floating point value.FloatToStr function
Returns a string from a floating point value.FloatToStrF function
Returns a string from a floating point value, using a specified Format, Precision, and Digits.FormatDateTime function
Formats a TDateTime value to a string.FormatCurr function
Returns a string from a currency point value using the provided format string.FormatFloat function
Returns a string from a floating point value using the provided format string.GetCurrentDir function
Returns the name of the current directory.GetLocaleFormatSettings procedure
Populates a TFormatSettings data structure based on the Windows locale ID.IncludeTrailingBackslash function
Adds '\' to the end of a string if it is not already there.IncMonth function
Adds or substracts a given number of months from a date value.IntToHex function
Converts an integer to a string expresion - hex representation.IntToStr function
Converts an integer to a string.IsDelimiter function
Returns True if a specified character in a string matches one of a set of delimiters starting from some position.IsPathDelimiter function
Returns true if a specified character in a string is the backslash (\) character.IsLeapYear function
Returns True if a year specified is a leap year.LastDelimiter function
Returns the index of the last occurence in a string of the characters cpecified.LowerCase function
Returns a string that has been converted to lowercase.Now function
Returns the current system date and time.QuotedStr function
Returns the quoted version of a string.RemoveDir function
Deletes an empty folder.RenameFile function
Changes the name of a specified file.SetCurrentDir function
Sets the current directory.Sleep function
Pauses program execution for a specified number of microseconds.StringReplace function
Returns a string in which a specified substring has been replaced with another substring.StrToBool function
Returns a boolean from a string value, if *possible*.StrToBoolDef function
Returns a boolean from a string value, on error returns "Default".StrToFloat function
Returns a floating point value from a string.StrToInt function
Converts a string to an integer.Time function
Returns the current system time.TimeToStr function
Converts a TDateTime value to a string (time part).Trim function
Returns a string containing a copy of a specified string without both leading and trailing spaces and control characters.TrimLeft function
Returns a string containing a copy of a specified string without leading spaces and control characters.TrimRight function
Returns a string containing a copy of a specified string without trailing spaces and control characters.TryStrToBool function
Converts a string to a boolean value with a Boolean success code.TryStrToInt function
Converts a string to an integer, returns False if string does not represent a valid number.UpperCase function
Returns a string that has been converted to uppercase.WrapText function
Returns a string broken into multiple lines.
