Difference between revisions of "Unit UltiboUtils"
From Ultibo.org
Line 35: | Line 35: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 47: | Line 47: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 59: | Line 59: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 71: | Line 71: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 83: | Line 83: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 95: | Line 95: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 107: | Line 107: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 119: | Line 119: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 131: | Line 131: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 143: | Line 143: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 155: | Line 155: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 167: | Line 167: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 179: | Line 179: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 191: | Line 191: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 203: | Line 203: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 215: | Line 215: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 227: | Line 227: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 239: | Line 239: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 251: | Line 251: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 263: | Line 263: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 275: | Line 275: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 287: | Line 287: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 299: | Line 299: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 311: | Line 311: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 323: | Line 323: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 335: | Line 335: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 347: | Line 347: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 359: | Line 359: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 371: | Line 371: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 383: | Line 383: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 395: | Line 395: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 407: | Line 407: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 419: | Line 419: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 431: | Line 431: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 443: | Line 443: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 455: | Line 455: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 467: | Line 467: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 479: | Line 479: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 491: | Line 491: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 503: | Line 503: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 515: | Line 515: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 527: | Line 527: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 539: | Line 539: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 551: | Line 551: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 563: | Line 563: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 575: | Line 575: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 587: | Line 587: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 599: | Line 599: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 611: | Line 611: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 623: | Line 623: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 635: | Line 635: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 647: | Line 647: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 659: | Line 659: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 671: | Line 671: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 683: | Line 683: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 695: | Line 695: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 707: | Line 707: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 731: | Line 731: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 806: | Line 806: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 818: | Line 818: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 830: | Line 830: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 866: | Line 866: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 878: | Line 878: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 890: | Line 890: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 905: | Line 905: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 917: | Line 917: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 929: | Line 929: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 941: | Line 941: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 953: | Line 953: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 965: | Line 965: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 977: | Line 977: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 989: | Line 989: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 1,001: | Line 1,001: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 1,013: | Line 1,013: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 1,025: | Line 1,025: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 1,037: | Line 1,037: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 1,049: | Line 1,049: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 1,061: | Line 1,061: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 1,073: | Line 1,073: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 1,085: | Line 1,085: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 1,097: | Line 1,097: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 1,109: | Line 1,109: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 1,121: | Line 1,121: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 1,133: | Line 1,133: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 1,145: | Line 1,145: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 1,157: | Line 1,157: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 1,169: | Line 1,169: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 1,181: | Line 1,181: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 1,193: | Line 1,193: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 1,205: | Line 1,205: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 1,217: | Line 1,217: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 1,229: | Line 1,229: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 1,244: | Line 1,244: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 1,256: | Line 1,256: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 1,268: | Line 1,268: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 1,280: | Line 1,280: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 1,292: | Line 1,292: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 1,307: | Line 1,307: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 1,319: | Line 1,319: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 1,331: | Line 1,331: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 1,343: | Line 1,343: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 1,355: | Line 1,355: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} | ||
Line 1,367: | Line 1,367: | ||
|- | |- | ||
! '''Note''' | ! '''Note''' | ||
− | | | + | | None documented |
|- | |- | ||
|} | |} |
Revision as of 06:49, 26 September 2016
Return to Unit Reference
Description
To be documented
Constants
To be documented
Type definitions
To be documented
Public variables
To be documented
Function declarations
String functions
function GetFirstWord(var AValue:String; ADelimiter:String):String;
Description: To be documented
Note | None documented |
---|
function GetLastWord(var AValue:String; ADelimiter:String):String;
Description: To be documented
Note | None documented |
---|
function PadString(const AValue:String; AChar:Char;ALength:Integer):String;
Description: System StringOfChar may not handle Length < 0 correctly
Note | None documented |
---|
function StrOfChar(const AValue:String; ALength:Integer):String;
Description: Use System StringOfChar instead
Note | None documented |
---|
function StrToBool(const AValue:String):Boolean;
Description: To be documented
Note | None documented |
---|
function IntToStrLen(AValue:Integer; ADigits:Integer):String;
Description: To be documented
Note | None documented |
---|
function StrToLongWord(const AValue:String):LongWord;
Description: To be documented
Note | None documented |
---|
function BoolToStr(AValue:Boolean):String;
Description: To be documented
Note | None documented |
---|
function BoolToStrEx(AValue:Boolean; AType:Integer):String;
Description: To be documented
Note | None documented |
---|
function InFixStr(const Value:String):String;
Description: To be documented
Note | None documented |
---|
function InFixStrEx(const Value:String):String;
Description: To be documented
Note | None documented |
---|
function RemoveSpaces(const Text:String):String;
Description: To be documented
Note | None documented |
---|
function SpaceCount(const Text:String):Integer;
Description: To be documented
Note | None documented |
---|
function NormaliseSpaces(const Text:String):String;
Description: To be documented
Note | None documented |
---|
function NormaliseCase(const Text:String):String;
Description: To be documented
Note | None documented |
---|
function StringFill(const Text:String; Count:Integer):String;
Description: To be documented
Note | None documented |
---|
function RemoveQuotes(const AValue:String):String;
Description: To be documented
Note | None documented |
---|
function RemoveBraces(const AValue:String):String;
Description: To be documented
Note | None documented |
---|
function RemoveBrackets(const AValue:String):String;
Description: To be documented
Note | None documented |
---|
function RemoveSingleQuotes(const AValue:String):String;
Description: To be documented
Note | None documented |
---|
function RemoveCurlyBraces(const AValue:String):String;
Description: To be documented
Note | None documented |
---|
function IsAlpha(const AValue:String):Boolean;
Description: To be documented
Note | None documented |
---|
function IsNumeric(const AValue:String):Boolean;
Description: To be documented
Note | None documented |
---|
function RemoveNonAlpha(const Value:String):String;
Description: To be documented
Note | None documented |
---|
function AddQuotes(const AValue:String):String;
Description: To be documented
Note | None documented |
---|
function AddBraces(const AValue:String):String;
Description: To be documented
Note | None documented |
---|
function AddBrackets(const AValue:String):String;
Description: To be documented
Note | None documented |
---|
function AddSingleQuotes(const AValue:String):String;
Description: To be documented
Note | None documented |
---|
function AddCurlyBraces(const AValue:String):String;
Description: To be documented
Note | None documented |
---|
function NoOfChars(const AValue:String; AChar:Char):Integer;
Description: To be documented
Note | None documented |
---|
function ReplaceChar(const AValue:String; AChar,AReplace:Char):String;
Description: To be documented
Note | None documented |
---|
function EncodeString(const AValue,AKey:String):String;
Description: To be documented
Note | None documented |
---|
function DecodeString(const AValue,AKey:String):String;
Description: To be documented
Note | None documented |
---|
procedure DelimitStrings(AStrings:TStrings; var AString:String; const ADelimiter:String);
Description: To be documented
Note | None documented |
---|
procedure UndelimitString(AString:String; AStrings:TStrings; const ADelimiter:String);
Description: To be documented
Note | None documented |
---|
procedure UndelimitQuotedString(AString:String; AStrings:TStrings; const ADelimiter:String);
Description: To be documented
Note | None documented |
---|
function AddSlashes(const AFilePath:String):String;
Description: To be documented
Note | None documented |
---|
function AddTrailingSlash(const AFilePath:String):String;
Description: To be documented
Note | None documented |
---|
function AddLeadingSlash(const AFilePath:String):String;
Description: To be documented
Note | None documented |
---|
function StripSlashes(const AFilePath:String):String;
Description: To be documented
Note | None documented |
---|
function StripTrailingSlash(const AFilePath:String):String;
Description: To be documented
Note | None documented |
---|
function StripLeadingSlash(const AFilePath:String):String;
Description: To be documented
Note | None documented |
---|
function AddTrailingDot(const AValue:String):String;
Description: To be documented
Note | None documented |
---|
function AddLeadingDot(const AValue:String):String;
Description: To be documented
Note | None documented |
---|
function StripTrailingDot(const AValue:String):String;
Description: To be documented
Note | None documented |
---|
function StripLeadingDot(const AValue:String):String;
Description: To be documented
Note | None documented |
---|
function AddTrailingChar(const AFilePath,ASlashChar:String):String;
Description: To be documented
Note | None documented |
---|
function AddLeadingChar(const AFilePath,ASlashChar:String):String;
Description: To be documented
Note | None documented |
---|
function StripTrailingChar(const AFilePath,ASlashChar:String):String;
Description: To be documented
Note | None documented |
---|
function StripLeadingChar(const AFilePath,ASlashChar:String):String;
Description: To be documented
Note | None documented |
---|
function IsWildcard(const Value:String):Boolean;
Description: To be documented
Note | None documented |
---|
function UniqueName(const BaseName:String; CurrentNames:TStrings):String;
Description: To be documented
Note | None documented |
---|
function WildcardNameMatch(const Name,Wildcard:String; CaseSensitive:Boolean):Boolean;
Description: To be documented
Note | None documented |
---|
function AddQuotesIfSpaced(const AValue:String):String;
Description: To be documented
Note | None documented |
---|
function ExtractCommand(const ACommandLine:String):String;
Description: To be documented
Note | None documented |
---|
function ExtractParameters(const ACommandLine:String):String;
Description: To be documented
Note | None documented |
---|
function MultiStringToStrings(ABuffer:Pointer; ASize:Integer; AStrings:TStrings):Boolean;
Description: To be documented
Note | None documented |
---|
function StringsToMultiString(AStrings:TStrings; var ABuffer:Pointer; var ASize:Integer):Boolean;
Description: To be documented
Note | The returned buffer must be freed using FreeMem |
---|
function MultiStringToDelimited(ABuffer:PChar; ADelimiter:String):String;
Description: To be documented
Note | None documented |
---|
function DelimitedToMultiString(const AString:String; ADelimiter:String):PChar;
Description: To be documented
Note | The returned string must be freed using LocalFree |
---|
function DuplicateString(AString:PChar):PChar;
Description: To be documented
Note | The returned string must be freed using LocalFree |
---|
function DuplicateWideString(AString:PWideChar):PWideChar;
Description: To be documented
Note | The returned string must be freed using LocalFree |
---|
function DuplicateMultiString(AString:PChar):PChar;
Description: To be documented
Note | The returned string must be freed using LocalFree |
---|
function DuplicateMultiWideString(AString:PWideChar):PWideChar;
Description: To be documented
Note | The returned string must be freed using LocalFree |
---|
File functions
function IsRootDirectory(const Path:String):Boolean;
Description: To be documented
Note | None documented |
---|
function IsEightDotThree(const FileName:String):Boolean;
Description: To be documented
Note | None documented |
---|
function TruncateLongName(const FileName:String):String;
Description: To be documented
Note | None documented |
---|
function GenerateShortName(const FileName:String; AliasCount:Integer):String;
Description: To be documented
Note | If AliasCount is less than 0 then dont generate the numeric tail |
---|
function GenerateShortNameEx(const FileName:String; AliasCount:Integer; Hash:Word; UseHash:Boolean):String;
Description: To be documented
Note | If AliasCount is less than 0 then dont generate the numeric tail |
---|
function WildcardFileMatch(const FileName,Wildcard:String; CaseSensitive:Boolean):Boolean;
Description: To be documented
Note | None documented |
---|
function GetFileInfo(const FileName:String; var FileTime,FileSize:Integer; var FileAttr:LongWord):Boolean;
Description: To be documented
Note | None documented |
---|
function CompareFileInfo(const SourceFile,DestFile:String):Boolean;
Description: To be documented
Note | None documented |
---|
Date functions
function IsCurrentDate(ADate:TDateTime):Boolean;
Description: To be documented
Note | None documented |
---|
function IsCurrentTime(ATime:TDateTime):Boolean;
Description: To be documented
Note | None documented |
---|
function IsCurrentMinute(AMinute:Integer):Boolean;
Description: To be documented
Note | None documented |
---|
function IsCurrentHour(AHour:Integer):Boolean;
Description: To be documented
Note | None documented |
---|
function IsCurrentWeekDay(AWeekDay:Integer):Boolean;
Description: To be documented
Note | None documented |
---|
function IsCurrentDay(ADay:Integer):Boolean;
Description: To be documented
Note | None documented |
---|
function IsCurrentMonth(AMonth:Integer):Boolean;
Description: To be documented
Note | None documented |
---|
function IsCurrentYear(AYear:Integer):Boolean;
Description: To be documented
Note | None documented |
---|
function GetMinute(ADateTime:TDateTime):Integer;
Description: To be documented
Note | None documented |
---|
function GetHour(ADateTime:TDateTime):Integer;
Description: To be documented
Note | None documented |
---|
function GetWeekday(ADateTime:TDateTime):Integer;
Description: To be documented
Note | None documented |
---|
function GetDay(ADateTime:TDateTime):Integer;
Description: To be documented
Note | None documented |
---|
function GetMonth(ADateTime:TDateTime):Integer;
Description: To be documented
Note | None documented |
---|
function GetYear(ADateTime:TDateTime):Integer;
Description: To be documented
Note | None documented |
---|
function SecondsSince(ADateTime:TDateTime):LongWord;
Description: To be documented
Note | None documented |
---|
function MinutesSince(ADateTime:TDateTime):LongWord;
Description: To be documented
Note | None documented |
---|
function HoursSince(ADateTime:TDateTime):LongWord;
Description: To be documented
Note | None documented |
---|
function DaysSince(ADateTime:TDateTime):LongWord;
Description: To be documented
Note | None documented |
---|
function MonthsSince(ADateTime:TDateTime):LongWord;
Description: To be documented
Note | None documented |
---|
function YearsSince(ADateTime:TDateTime):LongWord;
Description: To be documented
Note | None documented |
---|
function DayOfYear(ADateTime:TDateTime):LongWord;
Description: To be documented
Note | None documented |
---|
function SubtractSeconds(ADateTime:TDateTime; ASeconds:LongWord):TDateTime;
Description: To be documented
Note | None documented |
---|
function TickCount:LongWord;
Description: Returns number of milliseconds since Ultibo started using GetTickCount
Note | None documented |
---|
function NormaliseDate(const ADate:String):String;
Description: To be documented
Note | None documented |
---|
function FormatEmailDate(ADateTime:TDateTime):String;
Description: To be documented
Note | None documented |
---|
function ShortMonthToMonth(const AShortMonth:String):LongWord;
Description: To be documented
Note | None documented |
---|
function LongMonthToMonth(const ALongMonth:String):LongWord;
Description: To be documented
Note | None documented |
---|
function TwoDigitYearToYear(AYear:LongWord):LongWord;
Description: To be documented
Note | None documented |
---|
Network functions
function CheckEmailAddress(const EmailAddress:String):Boolean;
Description: To be documented
Note | None documented |
---|
function StripEmailAddress(const EmailAddress:String):String;
Description: To be documented
Note | None documented |
---|
function FormatEmailAddress(const FullName,EmailAddress:String):String;
Description: To be documented
Note | None documented |
---|
function GetUserFromEmail(const EmailAddress:String):String;
Description: To be documented
Note | None documented |
---|
function GetDomainFromEmail(const EmailAddress:String):String;
Description: To be documented
Note | None documented |
---|
Misc functions
function CloneSid(ASid:Pointer):Pointer;
Description: To be documented
Note | None documented |
---|
function CloneDescriptor(ADescriptor:Pointer):Pointer;
Description: To be documented
Note | None documented |
---|
function CompareSid(ASid1,ASid2:Pointer):Boolean;
Description: Caller should first compare the Hashes
Note | None documented |
---|
function CompareDescriptor(ADescriptor1,ADescriptor2:Pointer):Boolean;
Description: Caller should first compare the Hashes
Note | None documented |
---|
function GenerateSidHash(ASid:Pointer; ASize:LongWord):LongWord;
Description: To be documented
Note | None documented |
---|
function GenerateDescriptorHash(ADescriptor:Pointer; ASize:LongWord):LongWord;
Description: To be documented
Note | None documented |
---|
Return to Unit Reference