All Functions and Procedures

Name Unit Description
AnsiCDateTime synautil Returns date and time in format defined in ANSI C compilers in format "ddd mmm d hh:nn:ss yyyy"
BinToInt synautil Returns an integer equivalent of the binary string in "Value". (i.e. ('10001010') returns 138)
CDateTime synautil Returns date and time in format defined in C compilers in format "mmm dd hh:nn:ss"
CodeInt synautil Return two characters, which ordinal values represents the value in byte format. (High-endian)
CodeLongInt synautil Return four characters, which ordinal values represents the value in byte format. (High-endian)
CountOfChar synautil Return count of Chr in Value string.
DecodeInt synautil Decodes two characters located at "Index" offset position of the "Value" string to Word values.
DecodeLongInt synautil Decodes four characters located at "Index" offset position of the "Value" string to LongInt values.
DecodeRfcDateTime synautil Decode various string representations of date and time to Tdatetime type. This function do all timezone corrections too! This function can decode lot of formats like:

 ddd, d mmm yyyy hh:mm:ss
 ddd, d mmm yy hh:mm:ss
 ddd, mmm d yyyy hh:mm:ss
 ddd mmm dd hh:mm:ss yyyy

and more with lot of modifications, include:

Sun, 06 Nov 1994 08:49:37 GMT    ; RFC 822, updated by RFC 1123
Sunday, 06-Nov-94 08:49:37 GMT   ; RFC 850, obsoleted by RFC 1036
Sun Nov  6 08:49:37 1994         ; ANSI C

Timezone corrections known lot of symbolic timezone names (like CEST, EDT, etc.) or numeric representation (like +0200). By convention defined in RFC timezone +0000 is GMT and -0000 is current your system timezone.

Dump synautil Dump binary buffer stored in a string to a file with DumpFile filename.
DumpEx synautil Dump binary buffer stored in a string to a file with DumpFile filename. All bytes with code of character is written as character, not as hexadecimal value.
DumpExStr synautil Dump binary buffer stored in a string to a result string. All bytes with code of character is written as character, not as hexadecimal value.
DumpStr synautil Dump binary buffer stored in a string to a result string.
Fetch synautil Fetch string from left of Value string.
FetchBin synautil Like Fetch, but working with binary strings, not with text.
FetchEx synautil Fetch string from left of Value string. This function ignore delimitesr inside quotations.
GetBetween synautil Get string between PairBegin and PairEnd. This function respect nesting. For example:

 Value is: 'Hi! (hello(yes!))'
 pairbegin is: '('
 pairend is: ')'
 In this case result is: 'hello(yes!)'

GetDateMDYFromStr synautil Decode string in format "m-d-y" to TDateTime type.
GetEmailAddr synautil Returns only the e-mail portion of an address from the full address format. i.e. returns 'nobody@somewhere.com' from '"someone" <nobody@somewhere.com>'
GetEmailDesc synautil Returns only the description part from a full address format. i.e. returns 'someone' from '"someone" <nobody@somewhere.com>'
GetMonthNumber synautil Decode three-letter string with name of month to their month number. If string not match any month name, then is returned 0. For parsing are used predefined names for English, French and German and names from system locale too.
GetParameter synautil Returns parameter value from string in format: parameter1="value1"; parameter2=value2
GetSerialPortNames synaser Returns list of existing computer serial ports. Working properly only in Windows!
GetTempFile synautil Return filename of new temporary file in Dir (if empty, then default temporary directory is used) and with optional filename prefix.
GetTick synautil Return current value of system timer with precizion 1 millisecond. Good for measure time difference.
GetTimeFromStr synautil Return decoded time from given string. Time must be witch separator ':'. You can use "hh:mm" or "hh:mm:ss".
GetUTTime synautil Return current system date and time in UTC timezone.
HeadersToList synautil Convert lines in stringlist from 'name: value' form to 'name=value' form.
IncPoint synautil Increase pointer by value.
IndexByBegin synautil Index of string in stringlist with same beginning as Value is returned.
IntToBin synautil Returns a string of binary "Digits" representing "Value".
IPToID synautil Returns a string with the "Host" ip address converted to binary form.
IsBinaryString synautil If string is binary string (contains non-printable characters), then is returned true.
IsIP synautil Returns True, if "Value" is a valid IPv4 address. Cannot be a symbolic Name!
IsIP6 synautil Returns True, if "Value" is a valid IPv6 address. Cannot be a symbolic Name!
ListToHeaders synautil Convert lines in stringlist from 'name=value' form to 'name: value' form.
ParseParameters synautil parse value string with elements differed by ';' into stringlist.
ParseParametersEx synautil parse value string with elements differed by Delimiter into stringlist.
ParseURL synautil Parses a URL to its various components.
PosCRLF synautil return position of string terminator in string. If terminator found, then is returned in terminator parameter. Possible line terminators are: CRLF, LFCR, CR, LF
PosFrom synautil Like Pos function, buf from given string possition.
QuoteStr synautil Quote Value string. If Value contains some Quote chars, then it is doubled.
ReadStrFromStream synautil read string with requested length form stream.
ReplaceString synautil Replaces all "Search" string values found within "Value" string, with the "Replace" string value.
Rfc822DateTime synautil Returns current time in format defined in RFC-822. Useful for SMTP messages, but other protocols use this time format as well. Results contains the timezone specification. Four digit year is used to break any Y2K concerns. (Example 'Fri, 15 Oct 1999 21:14:56 +0200')
RPos synautil It is like POS function, but from right side of Value string.
RPosEx synautil It is like RPos, but search is from specified possition.
SeparateLeft synautil Returns a portion of the "Value" string located to the left of the "Delimiter" string. If a delimiter is not found, results is original string.
SeparateRight synautil Returns the portion of the "Value" string located to the right of the "Delimiter" string. If a delimiter is not found, results is original string.
SetUTTime synautil Set Newdt as current system date and time in UTC timezone. This function work only if you have administrator rights!
SimpleDateTime synautil Returns date and time in format defined in format 'yymmdd hhnnss'
StringsTrim synautil Delete empty strings from end of stringlist.
StrToHex synautil Returns a string with hexadecimal digits representing the corresponding values of the bytes found in "Value" string.
SwapBytes synautil swap bytes in integer.
TickDelta synautil Return difference between two timestamps. It working fine only for differences smaller then maxint. (difference must be smaller then 24 days.)
TimeZone synautil Return your timezone bias from UTC time in string representation like "+0200".
TimeZoneBias synautil Return your timezone bias from UTC time in minutes.
TrimSP synautil Like Trim, but remove only spaces, not control characters!
TrimSPLeft synautil Like TrimLeft, but remove only spaces, not control characters!
TrimSPRight synautil Like TrimRight, but remove only spaces, not control characters!
UnquoteStr synautil Remove quotation from Value string. If Value is not quoted, then return same string without any modification.
WriteStrToStream synautil write string to stream.

Generated by PasDoc 0.9.0 on 2005-12-27 21:04:36