Show: Delphi
C++
Display Preferences
System.AnsiStrings
From XE2 API Documentation
Routines
| AnsiCompareFileName | Compares file names. |
| AnsiCompareStr | Compare two strings with case-sensitivity. |
| AnsiCompareText | Compare two strings without case-sensitivity. |
| AnsiContainsStr | Test if subtext is found in text with case-sensitivity. |
| AnsiContainsText | Test if subtext is found in text without case-sensitivity. |
| AnsiDequotedStr | Convert quoted string to unquoted string. |
| AnsiEndsStr | Test if trailing part of text matches subtext with case-sensitivity. |
| AnsiEndsText | Test if trailing part of text matches subtext without case-sensitivity. |
| AnsiFormatBuf | Format argument list using format string. |
| AnsiIndexStr | Look for string in string array with case-sensitivity. |
| AnsiIndexText | Look for string in string array without case-sensitivity. |
| AnsiLastChar | Get last full character in string. |
| AnsiLeftStr | Returns substring of specified length at start of string. |
| AnsiLowerCase | Convert characters to lower case. |
| AnsiLowerCaseFileName | Convert file name to lower case. |
| AnsiMatchStr | Determines if string is in string array with case-sensitivity. |
| AnsiMatchText | Determines if string is in string array without case-sensitivity. |
| AnsiMidStr | Returns substring of specified length at specified position in string. |
| AnsiPos | Get index value of first character in substring that occurs in string. |
| AnsiQuotedStr | Get quoted string from string. |
| AnsiReplaceStr | Replaces all occurrences of a substring within a string, using case-sensitive search. |
| AnsiReplaceText | Replace all occurrences of a substring. |
| AnsiReverseString | Reverse AnsiString. |
| AnsiRightStr | Returns substring of specified length at end of string. |
| AnsiSameStr | Compare two strings with case-sensitivity. |
| AnsiSameText | Compare two strings without case-sensitivity. |
| AnsiStartsStr | Test if leading part of text matches subtext with case-sensitivity. |
| AnsiStartsText | Test if leading part of text matches subtext without case-sensitivity. |
| AnsiUpperCase | Convert characters to upper case. |
| AnsiUpperCaseFileName | Convert file name to lower case. |
| ChangeFileExt | Change filename extension. |
| ChangeFilePath | Change filename path. |
| CharLength | Gets the number of bytes required by character. |
| CompareStr | Compare two strings with case-sensitivity. |
| CompareText | Compare two strings for equality without case-sensitivity. |
| ContainsStr | Test if subtext is found in text with case-sensitivity. |
| ContainsText | Test if subtext is found in text without case-sensitivity. |
| DupeString | Make copies of string. |
| EndsStr | Test if trailing part of text matches subtext with case-sensitivity. |
| EndsText | Test if trailing part of text matches subtext without case-sensitivity. |
| ExcludeTrailingBackslash | Previous name for ExcludeTrailingPathDelimiter. |
| ExcludeTrailingPathDelimiter | Path without path delimiter at end. |
| ExpandFileName | Expand filename to fully qualified filename. |
| ExpandFileNameCase | Get fully qualified filename by performing case-insensitive filename search looking for a close match. |
| ExpandUNCFileName | Expand filename to fully qualified filename. |
| ExtractFileDir | Extracts drive and directory parts of filename. |
| ExtractFileDrive | Extract drive part of filename. |
| ExtractFileExt | Extract extension part of filename. |
| ExtractFileName | Extract name and extension parts of filename. |
| ExtractFilePath | Extract drive and directory parts of filename. |
| ExtractRelativePath | Return file path name relative to base name. |
| ExtractShortPathName | Convert filename to short form. |
| FmtStr | Format argument list using format string. |
| Format | Formats the argument list given by the Args parameter using the format string given by the Format parameter. |
| IncludeTrailingBackslash | Previous name for IncludeTrailingPathDelimiter. |
| IncludeTrailingPathDelimiter | Return path with path delimiter. |
| IndexStr | Look for string in string array with case-sensitivity. |
| IndexText | Look for string in string array without case-sensitivity.. |
| IsDelimiter | Test if character is delimiter. |
| IsPathDelimiter | Test if character is path delimiter. |
| LastDelimiter | Byte index of rightmost whole delimiter character. |
| LowerCase | Convert all characters to lower case. |
| MatchStr | Determines if string in string array with case-sensitivity. |
| MatchText | Determines if string in string array. |
| NextCharIndex | Byte index of first byte of next character. |
| PosEx | Returns index value of substring, starting at offset. |
| QuotedStr | Gets quoted string from string. |
| RandomFrom | Randomly return one of given strings in array. |
| ReplaceStr | Replaces all occurrences of a substring within a string, using case-sensitive search. |
| ReplaceText | Replace all occurrences of a substring. |
| ReplaceTextA | |
| ReverseString | Reverse AnsiString. |
| SameFileName | Compare file names for equality. |
| SameStr | Compare two strings with case-sensitivity. |
| SameText | Compare two strings for equality without case-sensitivity. |
| StartsStr | Test if leading part of text matches subtext with case-sensitivity. |
| StartsText | Test if leading part of text matches subtext without case-sensitivity. |
| StringReplace | Replaces occurrences of a substring within a string. |
| StuffString | Replace segment of AnsiString with another one. |
| Trim | Trim leading and trailing spaces and control characters. |
| TrimLeft | Trim leading spaces and control characters. |
| TrimRight | Trim trailing spaces and control characters. |
| UpperCase | Convert all characters to upper case. |
Types
| TFilenameCaseMatch | File match indicator for ExpandFileNameCase. |
Constants
| mkAmbiguous | mkAmbiguous: TFilenameCaseMatch = mkAmbiguous; |
| mkExactMatch | mkExactMatch: TFilenameCaseMatch = mkExactMatch; |
| mkNone | mkNone: TFilenameCaseMatch = mkNone; |
| mkSingleMatch | mkSingleMatch: TFilenameCaseMatch = mkSingleMatch; |