Show: Delphi C++
Display Preferences

System.AnsiStrings

From XE2 API Documentation
Jump to: navigation, search


Routines

AnsiCompareFileNameCompares file names.
AnsiCompareStrCompare two strings with case-sensitivity.
AnsiCompareTextCompare two strings without case-sensitivity.
AnsiContainsStrTest if subtext is found in text with case-sensitivity.
AnsiContainsTextTest if subtext is found in text without case-sensitivity.
AnsiDequotedStrConvert quoted string to unquoted string.
AnsiEndsStrTest if trailing part of text matches subtext with case-sensitivity.
AnsiEndsTextTest if trailing part of text matches subtext without case-sensitivity.
AnsiFormatBufFormat argument list using format string.
AnsiIndexStrLook for string in string array with case-sensitivity.
AnsiIndexTextLook for string in string array without case-sensitivity.
AnsiLastCharGet last full character in string.
AnsiLeftStrReturns substring of specified length at start of string.
AnsiLowerCaseConvert characters to lower case.
AnsiLowerCaseFileNameConvert file name to lower case.
AnsiMatchStrDetermines if string is in string array with case-sensitivity.
AnsiMatchTextDetermines if string is in string array without case-sensitivity.
AnsiMidStrReturns substring of specified length at specified position in string.
AnsiPosGet index value of first character in substring that occurs in string.
AnsiQuotedStrGet quoted string from string.
AnsiReplaceStrReplaces all occurrences of a substring within a string, using case-sensitive search.
AnsiReplaceTextReplace all occurrences of a substring.
AnsiReverseStringReverse AnsiString.
AnsiRightStrReturns substring of specified length at end of string.
AnsiSameStrCompare two strings with case-sensitivity.
AnsiSameTextCompare two strings without case-sensitivity.
AnsiStartsStrTest if leading part of text matches subtext with case-sensitivity.
AnsiStartsTextTest if leading part of text matches subtext without case-sensitivity.
AnsiUpperCaseConvert characters to upper case.
AnsiUpperCaseFileNameConvert file name to lower case.
ChangeFileExtChange filename extension.
ChangeFilePathChange filename path.
CharLengthGets the number of bytes required by character.
CompareStrCompare two strings with case-sensitivity.
CompareTextCompare two strings for equality without case-sensitivity.
ContainsStrTest if subtext is found in text with case-sensitivity.
ContainsTextTest if subtext is found in text without case-sensitivity.
DupeStringMake copies of string.
EndsStrTest if trailing part of text matches subtext with case-sensitivity.
EndsTextTest if trailing part of text matches subtext without case-sensitivity.
ExcludeTrailingBackslashPrevious name for ExcludeTrailingPathDelimiter.
ExcludeTrailingPathDelimiterPath without path delimiter at end.
ExpandFileNameExpand filename to fully qualified filename.
ExpandFileNameCaseGet fully qualified filename by performing case-insensitive filename search looking for a close match.
ExpandUNCFileNameExpand filename to fully qualified filename.
ExtractFileDirExtracts drive and directory parts of filename.
ExtractFileDriveExtract drive part of filename.
ExtractFileExtExtract extension part of filename.
ExtractFileNameExtract name and extension parts of filename.
ExtractFilePathExtract drive and directory parts of filename.
ExtractRelativePathReturn file path name relative to base name.
ExtractShortPathNameConvert filename to short form.
FmtStrFormat argument list using format string.
FormatFormats the argument list given by the Args parameter using the format string given by the Format parameter.
IncludeTrailingBackslashPrevious name for IncludeTrailingPathDelimiter.
IncludeTrailingPathDelimiterReturn path with path delimiter.
IndexStrLook for string in string array with case-sensitivity.
IndexTextLook for string in string array without case-sensitivity..
IsDelimiterTest if character is delimiter.
IsPathDelimiterTest if character is path delimiter.
LastDelimiterByte index of rightmost whole delimiter character.
LowerCaseConvert all characters to lower case.
MatchStrDetermines if string in string array with case-sensitivity.
MatchTextDetermines if string in string array.
NextCharIndexByte index of first byte of next character.
PosExReturns index value of substring, starting at offset.
QuotedStrGets quoted string from string.
RandomFromRandomly return one of given strings in array.
ReplaceStrReplaces all occurrences of a substring within a string, using case-sensitive search.
ReplaceTextReplace all occurrences of a substring.
ReplaceTextA
ReverseStringReverse AnsiString.
SameFileNameCompare file names for equality.
SameStrCompare two strings with case-sensitivity.
SameTextCompare two strings for equality without case-sensitivity.
StartsStrTest if leading part of text matches subtext with case-sensitivity.
StartsTextTest if leading part of text matches subtext without case-sensitivity.
StringReplaceReplaces occurrences of a substring within a string.
StuffStringReplace segment of AnsiString with another one.
TrimTrim leading and trailing spaces and control characters.
TrimLeftTrim leading spaces and control characters.
TrimRightTrim trailing spaces and control characters.
UpperCaseConvert all characters to upper case.

Types

TFilenameCaseMatchFile match indicator for ExpandFileNameCase.

Constants

mkAmbiguousmkAmbiguous: TFilenameCaseMatch = mkAmbiguous;
mkExactMatchmkExactMatch: TFilenameCaseMatch = mkExactMatch;
mkNonemkNone: TFilenameCaseMatch = mkNone;
mkSingleMatchmkSingleMatch: TFilenameCaseMatch = mkSingleMatch;


Personal tools
Previous Versions
Translations