[next] [prev] [prev-tail] [tail] [up]

### 22.2 Function list by category

What follows is a listing of the available functions, grouped by category. For each function there is a reference to the page where you can find the function.

#### String functions

Functions for handling strings.

Name Description Page
____________________________________________________________________________

AnsiCompareStr
  Compare two strings 762
AnsiCompareText
  Compare two strings, case insensitive 763
AnsiExtractQuotedStr
  Removes quotes from string 765
AnsiLastChar
  Get last character of string 765
AnsiLowerCase
  Convert string to all-lowercase 766
AnsiQuotedStr
  Qoutes a string 767
AnsiStrComp
  Compare strings case-sensitive 767
AnsiStrIComp
  Compare strings case-insensitive 768
AnsiStrLComp
  Compare L characters of strings case sensitive 770
AnsiStrLIComp
  Compare L characters of strings case insensitive 771
AnsiStrLastChar
  Get last character of string 769
AnsiStrLower
  Convert string to all-lowercase 772
AnsiStrUpper
  Convert string to all-uppercase 773
AnsiUpperCase
  Convert string to all-uppercase 773
AppendStr
  Append 2 strings 774
AssignStr
  Assign value of strings on heap 775
CompareStr
  Compare two strings case sensitive 777
CompareText
  Compare two strings case insensitive 778
DisposeStr
  Remove string from heap 779
IsValidIdent
  Is string a valid pascal identifier 797
LastDelimiter
  Last occurance of character in a string 798
LeftStr
  Get first N characters of a string 798
LoadStr
  Load string from resources 799
LowerCase
  Convert string to all-lowercase 799
NewStr
  Allocate new string on heap 800
RightStr
  Get last N characters of a string 801
StrAlloc
  Allocate memory for string 759
StrBufSize
  Reserve memory for a string 759
StrDispose
  Remove string from heap 760
StrPas
  Convert PChar to pascal string 761
StrPCopy
  Copy pascal string 760
StrPLCopy
  Copy N bytes of pascal string 761
UpperCase
  Convert string to all-uppercase 809

#### Formatting strings

Functions for formatting strings.

Name Description Page
____________________________________________________________________________

AdjustLineBreaks
  Convert line breaks to line breaks for system 762
FormatBuf
  Format a buffer 793
Format
  Format arguments in string 784
FmtStr
  Format buffer 783
QuotedStr
  Quote a string 800
StrFmt
  Format arguments in a string 801
StrLFmt
  Format maximum L characters in a string 802
TrimLeft
  Remove whitespace at the left of a string 807
TrimRight
  Remove whitespace at the right of a string 808
Trim
  Remove whitespace at both ends of a string 807

#### File input/output routines

Functions for reading/writing to file.

Name Description Page
____________________________________________________________________________

FileCreate
  Create a file and return handle 746
FileOpen
  Open file end return handle 749
FileRead
  Read from file 750
FileSeek
  Set file position 751
FileTruncate
  Truncate file length 752
FileWrite
  Write to file 753
FileClose
  Close file handle 745

#### File handling routines

Functions for file manipulation.

Name Description Page
____________________________________________________________________________

AddDisk
  Add sisk to list of disk drives 734
ChangeFileExt
  Change extension of file name 739
CreateDir
  Create a directory 734
DeleteFile
  Delete a file 739
DiskFree
  Free space on disk 735
DiskSize
  Total size of disk 736
ExpandFileName
  Create full file name 741
ExpandUNCFileName
  Create full UNC file name 741
ExtractFileDir
  Extract directory part of filename 742
ExtractFileDrive
  Extract drive part of filename 742
ExtractFileExt
  Extract extension part of filename 743
ExtractFileName
  Extract name part of filename 743
ExtractFilePath
  Extrct path part of filename 743
ExtractRelativePath
  Construct relative path between two files 744
FileAge
  Return file age 745
FileDateToDateTime
  Convert file date to system date 724
FileExists
  Determine whether a file exists on disk 747
FileGetAttr
  Get attributes of file 747
FileGetDate
  Get date of last file modification 749
FileSearch
  Search for file in path 750
FileSetAttr
  Get file attributes 752
FileSetDate
  Get file dates 752
FindFirst
  Start finding a file 753
FindNext
  Find next file 754
GetCurrentDir
  Return current working directory 737
RemoveDir
  Remove a directory from disk 737
RenameFile
  Rename a file on disk 756
SetCurrentDir
  Set current working directory 737
SetDirSeparators
  Set directory separator characters 756
FindClose
  Stop searching a file 753
DoDirSeparators
  Replace directory separator characters 740

#### Date/time routines

Functions for date and time handling.

Name Description Page
____________________________________________________________________________

DateTimeToFileDate
  Convert DateTime type to file date 716
DateTimeToStr
  Construct string representation of DateTime 717
DateTimeToString
  Construct string representation of DateTime 717
DateTimeToSystemTime
  Convert DateTime to system time 718
DateTimeToTimeStamp
  Convert DateTime to timestamp 719
DateToStr
  Construct string representation of date 720
Date
  Get current date 715
DayOfWeek
  Get day of week 720
DecodeDate
  Decode DateTime to year month and day 721
DecodeTime
  Decode DateTime to hours, minutes and seconds 721
EncodeDate
  Encode year, day and month to DateTime 722
EncodeTime
  Encode hours, minutes and seconds to DateTime 723
FormatDateTime
  Return string representation of DateTime 724
IncMonth
  Add 1 to month 725
IsLeapYear
  Determine if year is leap year 726
MSecsToTimeStamp
  Convert nr of milliseconds to timestamp 726
Now
  Get current date and time 727
StrToDateTime
  Convert string to DateTime 729
StrToDate
  Convert string to date 728
StrToTime
  Convert string to time 729
SystemTimeToDateTime
  Convert system time to datetime 730
TimeStampToDateTime
  Convert time stamp to DateTime 731
TimeStampToMSecs
  Convert Timestamp to number of millicseconds 732
TimeToStr
  return string representation of Time 732
Time
  Get current tyme 731

[next] [prev] [prev-tail] [front] [up]